Why is Python easy_install not working on my Mac?

mac下出现pyeasy_install错误,功能无法使用。

《Why is Python easy_install not working on my Mac?》

放狗搜到一个同样问题的讨论,原链接其中有个方法测试通过:

1.Check your /usr/bin and /usr/local/bin for easy_install installations and remove any old script:

sudo rm /usr/bin/easy_install*

sudo rm /usr/local/bin/easy_install*

2.Download and run distribute:

curl -O http://python-distribute.org/distribute_setup.py
《Why is Python easy_install not working on my Mac?》
sudo python distribute_setup.py

sudo rm distribute_setup.py

3.Try again, and enjoy. E.g.:
《Why is Python easy_install not working on my Mac?》
sudo easy_install pip

    原文作者:sunyifei83
    原文地址: https://segmentfault.com/a/1190000000514439
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞