Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/python-2.7/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sql-server/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python pip安装boto3时出错_Python_Python 2.7_Boto_Boto3 - Fatal编程技术网

Python pip安装boto3时出错

Python pip安装boto3时出错,python,python-2.7,boto,boto3,Python,Python 2.7,Boto,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 uninst

我正在尝试运行:

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'
试一试


可能是许可问题。尝试
sudo pip install bot3
此问题已说明。Try:
pip安装——忽略python中安装的六个
,始终设置虚拟开发环境,例如virtualenv或conda:
pip install --ignore-installed boto3