Pip using system python osx

前端 未结 5 1881
醉话见心
醉话见心 2021-02-03 13:34

I installed python26 using macports, so the correct python on my system is /opt/local/bin/python

However, when I do

sudo pip install 

        
5条回答
  •  遇见更好的自我
    2021-02-03 14:28

    I found I needed to ln -s /opt/local/bin/pip-2.7 /opt/local/bin/pip. For some reason macports didn't built that link, even when you try activating that version of python or pip.

提交回复
热议问题