1. 程式人生 > >出現Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build*解決辦法

出現Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build*解決辦法

我在使用sudo pip install jupyter的時候出現了Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-sr2_jA/distribute/這個錯誤,百度了好久也試了前人的很多方法,最後在stack overflow上看到了一句程式碼見奇效

easy_install -U setuptools

然後在執行sudo pip install jupyter竟然沒有報錯安裝成功了
pip還不能完全取代easy_install,哈哈哈