Why is Python easy_install not working on my Mac?

发布时间:2019-06-23 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了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.:

Why is Python easy_install not working on my Mac?


sudo easy_install pip

脚本宝典总结

以上是脚本宝典为你收集整理的Why is Python easy_install not working on my Mac?全部内容,希望文章能够帮你解决Why is Python easy_install not working on my Mac?所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。