Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does pip install its packages?

I activated a virtualenv which has pip installed. I did

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.

like image 314
SilentDev Avatar asked May 01 '15 02:05

SilentDev


1 Answers

pip show <package name> will provide the location for Windows and macOS, and I'm guessing any system. :)

For example:

> pip show cvxopt Name: cvxopt Version: 1.2.0 ... Location: /usr/local/lib/python2.7/site-packages 
like image 131
gdbj Avatar answered Oct 14 '22 23:10

gdbj