py-pip usage

Joshua Root jmr at macports.org
Mon Mar 28 03:45:11 PDT 2016


Mark Brethen wrote:
> How is the py-pip port used to install python packages and where are they installed? Is this advisable?

You use it just as described in the pip documentation[1]. By default the 
packages go to the same place as a normal distutils install, which is 
not a good idea since that's also where modules installed as ports go. 
If you don't use a virtualenv, at least use the --user option or specify 
a custom directory.

- Josh

[1] <https://pip.pypa.io/en/stable/reference/pip_install/#pip-install>


More information about the macports-users mailing list