patternpythonCritical
Where does pip install its packages?
Viewed 0 times
packageswheredoespipitsinstall
Problem
I activated a virtualenv which has pip installed. I did
and Django successfully downloaded. Now, I want to open up the Django folder. Where is the folder located?
Normally it would be in "downloads", but I'm not sure where it would be if I installed it using pip in a virtualenv.
pip3 install Django==1.8
and Django successfully downloaded. Now, I want to open up the Django folder. Where is the folder located?
Normally it would be in "downloads", but I'm not sure where it would be if I installed it using pip in a virtualenv.
Solution
pip when used with virtualenv will generally install packages in the path
For example, I created a test virtualenv named venv_test with Python 2.7, and the
/lib//site-packages.For example, I created a test virtualenv named venv_test with Python 2.7, and the
django folder is in venv_test/lib/python2.7/site-packages/django.Context
Stack Overflow Q#29980798, score: 183
Revisions (0)
No revisions yet.