You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was installing pytorch in an environment 'ptrch' i had created using conda. For my combination of requirements (windows, python 3.6, no cuda, conda) The official site asks for torchvision to be installed as well. it asked me to do pip3 install torchvision --no-deps. I did it from inside ptrch but torchvision got installed to global install location (Anaconda3\Lib\site-packages) instead of inside ptrch.
I uninstalled torchvision and removed pip3 from Anaconda3/Scripts, deactivated ptrch, activated ptrch again, thinking some caching maybe is causing the global pip3 getting used instead of the ptrch one and then installed it again from inside ptrch. To my surprise it again got installed to the global location (Anaconda3\Lib\site-packages)
There was another pip3 in another environment 'tensorflow' and this was added to PATH. Though my understanding is that that pip3, if had interfered, would have installed torchvision in the tensorflow env, i still removed that pip3 as well
now i have just one pip3 and that is in ptrch env. Now i again uninstalled torchvision and reinstalled it from inside ptrch. And again it is getting installed to Anaconda3\Lib\site-packages
Is this supposed to work like this? Is my only option to use -t switch?
All the envs are created using conda.
The text was updated successfully, but these errors were encountered:
Description:
I was installing pytorch in an environment 'ptrch' i had created using conda. For my combination of requirements (windows, python 3.6, no cuda, conda) The official site asks for torchvision to be installed as well. it asked me to do
pip3 install torchvision --no-deps
. I did it from inside ptrch but torchvision got installed to global install location (Anaconda3\Lib\site-packages) instead of inside ptrch.my understanding has been that pip installs to the env it itself is installed into
I uninstalled torchvision and removed pip3 from Anaconda3/Scripts, deactivated ptrch, activated ptrch again, thinking some caching maybe is causing the global pip3 getting used instead of the ptrch one and then installed it again from inside ptrch. To my surprise it again got installed to the global location (Anaconda3\Lib\site-packages)
There was another pip3 in another environment 'tensorflow' and this was added to PATH. Though my understanding is that that pip3, if had interfered, would have installed torchvision in the tensorflow env, i still removed that pip3 as well
now i have just one pip3 and that is in ptrch env. Now i again uninstalled torchvision and reinstalled it from inside ptrch. And again it is getting installed to Anaconda3\Lib\site-packages
Is this supposed to work like this? Is my only option to use -t switch?
All the envs are created using conda.
The text was updated successfully, but these errors were encountered: