Why is Python easy_install not working on my Mac?

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

报错截图

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

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
下载
sudo python distribute_setup.py

sudo rm distribute_setup.py

3.Try again, and enjoy. E.g.:
救回来了
sudo easy_install pip

评论

暂无评论