Why is Python easy_install not working on my Mac?

Why is Python easy_install not working on my Mac?
1 Star2 Stars3 Stars4 Stars5 Stars 給文章打分!
Loading...

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

相關文章

程式語言 最新文章