Pip using system python osx

前端 未结 5 1740
醉话见心
醉话见心 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:34

    You should have the python and pip installed in /opt/local/bin/ prior to those installed in /usr/local/bin/.

    Also, you should check to execute which python and whether the pip was installed in /opt/local/bin/pip.

提交回复
热议问题