+ 2
Dependency conflict
I'm getting an issue when installing tensorflow in jupyter notebook. After creating my virtual environment and activating it, I installed tensorflow using this command: pip install tensorflow But it is installed at system level When I tried navigating to the directory of my virtual environment \lib\site-packages and installed tensorflow it now appears in the virtual environment folder. But when I check using pip list I don't see tensorflow listed and also tensorflow.python is missing. This is my first time using python virtual environment and tensorflow so I don't know much about it. I tried recreating the virtual environment, clearing cache, downgrading tensorflow but nothing works.
3 Réponses
+ 3
It means the virtual env is not activated when you installed it.
If you're on bash or Windows PowerShell, make sure that the output is something like this
(virtual env)C://>>
Ensure a pattern in the bracket before installing tensorflow. This is to signify that the venv is active
0
Badgirl MIRI
Yes the output does look like this but it still does not work.
0
I've finally resolved it. It was not a dependency conflict issue. It was another issue. 😂🤦♀️