Python: PIP install path, what is the correct location for this and other addons?

Python: PIP install path, what is the correct location for this and other addons?

Since pip is an executable and which returns path of executables or filenames in environment. It is correct. Pip module is installed in site-packages but the executable is installed in bin.

Modules go in site-packages and executables go in your systems executable path. For your environment, this path is /usr/local/bin/.

To avoid having to deal with this, simply use easy_install, distribute or pip. These tools know which files need to go where.

Python: PIP install path, what is the correct location for this and other addons?

Yes, thats correct. To prove it, run

/usr/local/bin/pip show pip

It should print:

Location: /Library/Python/2.7/site-packages/

Leave a Reply

Your email address will not be published. Required fields are marked *