我正在尝试在我的Mac中安装setuptools,但是当我运行命令时,curl https://bootstrap.pypa.io/ez_setup.py -o - | python显示一条消息告诉我们:
Processing setuptools-17.1.1-py3.4.egg
Removing /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/setuptools-17.1.1-py3.4.egg
Copying setuptools-17.1.1-py3.4.egg to /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages
Adding setuptools 17.1.1 to easy-install.pth file error: [Errno 13] Permission denied: '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/easy-install.pth'
Something went wrong during the installation.
See the error message above.发布于 2015-06-15 11:58:06
您需要sudo才能将python命令写入/Library/Frameworks...
curl https://bootstrap.pypa.io/ez_setup.py -o - | sudo python发布于 2015-06-15 11:50:53
https://stackoverflow.com/questions/30844263
复制相似问题