I'm on OS X and my Pip installs to
/Library/Python/2.7/site-packages
I would like my pip to install to:
/usr/local/lib/python2.7/site-packages
How could I achieve this? I haven't found a way yet
I'm on OS X and my Pip installs to
/Library/Python/2.7/site-packages
I would like my pip to install to:
/usr/local/lib/python2.7/site-packages
How could I achieve this? I haven't found a way yet
pip has an option for target directory --target, when installing package use
pip install --target=/usr/local/lib/python2.7/site-packages package_name
to install to your target
directory.
if target option not available, check
pip
version & for possible upgrade or as mentioned in comments the error may be related to OSX/Homebrew install, check here for details.