错误的PIP安装boto3
问题描述:
我试图运行:错误的PIP安装boto3
pip install boto3
但我发现了这个错误:
DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
OSError: [Errno 1] Operation not permitted: '/tmp/pip-ueLGpf-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'
答
尝试
pip install --ignore-installed boto3
+0
谢谢,它的工作! –
也许权限问题。试试'sudo pip install boto3' – luoluo
这个问题在[这里]描述(https://github.com/pypa/pip/issues/3165)。试试:'pip install --ignore-installed six' – elethan
在python中,总是要设置一个虚拟开发环境,例如virtualenv或conda:http://python-guide-pt-br.readthedocs.io/en/latest/dev/virtualenvs/ – mootmoot