I have several versions of Python installed, some through MacPorts and some directly via the python.org installers. I have modules installed through MacPorts and via PyPI, for the same Python version (3.2.3), but there are no ports for some of the PyPI modules I'd like to use. I tried just copying the files from one site-packages directory to another, but it didn't work. Is there a way to create one "true" centralized location that will accept packages from both MacPorts and pip/easy_install?
Mac – Move python modules from one installation to another
macportspython
Related Question
- Python no longer working, Config directory empty
- MacOS – How to not install MacPorts dependency if installed elsewhere
- MacOS – python version 2.7.8 can’t run /usr/bin/easy_install. Try the alternative(s):
- MacOS – How to get correct file permissions from Macports pip installs
- MacOS – os 10.11.6 pip install permission error
- How to ensure separate pathways of each instance of Python
- How to override default Python modules with ones I install with pip
- How to let preinstalled python 2.7 access pip installed modules
Best Answer
Just use easy_install or pip from macports ie
sudo port install py32-pip
This will put pip in /opt/local/bin I think and use this pip not the Apple supplied one.