pip安装paramiko失败_Macos版本10.11.6

报错信息:

sudo pip install cryptography

Password:

The directory ‘/Users/wanghao/Library/Caches/pip/http‘ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo‘s -H flag.

The directory ‘/Users/wanghao/Library/Caches/pip‘ or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo‘s -H flag.

Collecting cryptography

/Library/Python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/connection.py:303: SubjectAltNameWarning: Certificate for pypi.python.org has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)

SubjectAltNameWarning

/Library/Python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/connection.py:303: SubjectAltNameWarning: Certificate for pypi.python.org has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)

SubjectAltNameWarning

Downloading cryptography-1.6-cp27-cp27m-macosx_10_10_intel.whl (2.4MB)

100% |████████████████████████████████| 2.4MB 319kB/s

Requirement already satisfied: cffi>=1.4.1 in /Library/Python/2.7/site-packages (from cryptography)

Requirement already satisfied: pyasn1>=0.1.8 in /Library/Python/2.7/site-packages (from cryptography)

Collecting setuptools>=11.3 (from cryptography)

/Library/Python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/connection.py:303: SubjectAltNameWarning: Certificate for pypi.python.org has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)

SubjectAltNameWarning

/Library/Python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/connection.py:303: SubjectAltNameWarning: Certificate for pypi.python.org has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)

SubjectAltNameWarning

Downloading setuptools-30.0.0-py2.py3-none-any.whl (472kB)

100% |████████████████████████████████| 481kB 434kB/s

Requirement already satisfied: six>=1.4.1 in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from cryptography)

Collecting idna>=2.0 (from cryptography)

/Library/Python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/connection.py:303: SubjectAltNameWarning: Certificate for pypi.python.org has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)

SubjectAltNameWarning

/Library/Python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/connection.py:303: SubjectAltNameWarning: Certificate for pypi.python.org has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)

SubjectAltNameWarning

Downloading idna-2.1-py2.py3-none-any.whl (54kB)

100% |████████████████████████████████| 61kB 311kB/s

Collecting ipaddress (from cryptography)

/Library/Python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/connection.py:303: SubjectAltNameWarning: Certificate for pypi.python.org has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)

SubjectAltNameWarning

/Library/Python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/connection.py:303: SubjectAltNameWarning: Certificate for pypi.python.org has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)

SubjectAltNameWarning

Downloading ipaddress-1.0.17-py2-none-any.whl

Collecting enum34 (from cryptography)

/Library/Python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/connection.py:303: SubjectAltNameWarning: Certificate for pypi.python.org has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)

SubjectAltNameWarning

/Library/Python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/connection.py:303: SubjectAltNameWarning: Certificate for pypi.python.org has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)

SubjectAltNameWarning

Downloading enum34-1.1.6-py2-none-any.whl

Requirement already satisfied: pycparser in /Library/Python/2.7/site-packages (from cffi>=1.4.1->cryptography)

Installing collected packages: setuptools, idna, ipaddress, enum34, cryptography

Found existing installation: setuptools 1.1.6

Uninstalling setuptools-1.1.6:

Exception:

Traceback (most recent call last):

File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 215, in main

status = self.run(options, args)

File "/Library/Python/2.7/site-packages/pip/commands/install.py", line 342, in run

prefix=options.prefix_path,

File "/Library/Python/2.7/site-packages/pip/req/req_set.py", line 778, in install

requirement.uninstall(auto_confirm=True)

File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line 754, in uninstall

paths_to_remove.remove(auto_confirm)

File "/Library/Python/2.7/site-packages/pip/req/req_uninstall.py", line 115, in remove

renames(path, new_path)

File "/Library/Python/2.7/site-packages/pip/utils/__init__.py", line 267, in renames

shutil.move(old, new)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 299, in move

copytree(src, real_dst, symlinks=True)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 208, in copytree

raise Error, errors

Error: [(‘/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py‘, ‘/tmp/pip-g0vvgD-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py‘, "[Errno 1] Operation not permitted: ‘/tmp/pip-g0vvgD-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py‘"), (‘/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc‘, ‘/tmp/pip-g0vvgD-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc‘, "[Errno 1] Operation not permitted: ‘/tmp/pip-g0vvgD-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc‘"), (‘/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py‘, ‘/tmp/pip-g0vvgD-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py‘, "[Errno 1] Operation not permitted: ‘/tmp/pip-g0vvgD-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py‘"), (‘/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc‘, ‘/tmp/pip-g0vvgD-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc‘, "[Errno 1] Operation not permitted: ‘/tmp/pip-g0vvgD-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc‘"), (‘/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib‘, ‘/tmp/pip-g0vvgD-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib‘, "[Errno 1] Operation not permitted: ‘/tmp/pip-g0vvgD-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib‘")]

解决方法:

pip install paramiko  --ignore-installed

时间: 2024-08-24 02:20:59

pip安装paramiko失败_Macos版本10.11.6的相关文章

U盘 安装 CentOS 5.4 / Fefora 10/11/12

(下面是8G U盘 ) 1.  8G U盘,两个分区,都是FAT32(这样U盘也可以在Win下使用),由于Windows XP只能看到第一个FAT32分区,因此,将CentOS 5.4 的相关安装文件 放在 第二个分区中: 在Linux下用fdisk命令对8G U盘进行分区,如下(红色为输入): [[email protected] ~]# fdisk /dev/sda The number of cylinders for this disk is set to 30584. There is

VMware Workstation 12 Pro 安装 mac最新系统版本10.12.3

弄了将近一个礼拜,查遍了网上的资料,今天终于把mac系统虚拟机装好了.其实VMware Workstation 12 Pro 安装 mac的教程网上很多,但是lz发现这些文章都是很久以前写的,而那些镜像系统也比较靠前,基本网上分享的系统我都装了个遍,只有10.10是可以用的,其他系统都是未通过认证的,但是10.10版本太老了,根本就不支持xcode下载,现在xcode下载系统最少要10.11.5,所以因为这个又查了好几天,最终一个礼拜搞定系统,并且可以下载xcode. 有图有真相: 下面我整理一

python使用pip安装scrapy失败可能原因

问题描述:使用python2.7.9+win7 安装scrapy失败 1.尝试同样版本,在同事电脑上安装成功. 2.尝试更改pip配置文件,从doubai源下载scrapy包,失败. 3.尝试更换python版本,失败. 4.尝试手动安装scrapy,失败,因为scrapy网页已经删除下载包/没有找到64位包. 5.尝试网络配置,因为网上很多人认为在正确的版本,正确的命令格式下,很可能是网络配置的问题.但是电脑可以正常的上网.怀疑是以前公司用的代理出问题更换过一次,so,与同事对比网络代理,发现

python pip安装lxml失败(转)

今天想要试试beautifulsoup4,安装的时候很顺利,然后就准备安装lxml作为解析器,没想到安装时pip直接给我报了一整页的错误. 解决过程 查看了一下错误提示,其中有如下一段: ********************************************************************************* Could not find function xmlCheckVersion in library libxml2. Is libxml2 ins

pip安装pyinstaller失败的解决方法

错误情况: 从下面错误来看,是安装build的依赖失败 解决方法: 下载setup.py文件来安装 1.先下载 pyinstaller的安装文件,下载地址:http://www.pyinstaller.org/downloads.html 2.我安装的是3.4版本,直接下载:pyinstaller 3.4 3.下载到本地后,直接解压,然后通过管理员模式打开命令窗口,用 cd 命令切换至 pyinstaller的解压路径,然后运行 python setup.py install 4.安装的过程出现

virtualenv下用pip安装whl失败

在虚拟环境下安装mysql-python提示已经安装过,但虚拟环境下确实没有,知乎上看到方法如下:可以将后缀名改为zip解压,然后把你需要安装的包放在site-packages文件夹中.(作者:杨培文,链接:http://www.zhihu.com/question/27780034/answer/39544034)

pip 安装管理失败解决

问题: pip install ansible 错误: src/hash_template.c:361: warning: implicit declaration of function ‘Py_FatalError’ error: command 'gcc' failed with exit status 1 ---------------------------------------- Rolling back uninstall of pycryptoCommand "/usr/bin

1、pip安装Ansible

ansible 的安装轻而易举,许多发行版的第三方软件仓库中都有现成的软件包,可以直接安装.其他简单的安装方法包括使用 pip 安装它,或者从 github 里获取最新的版本.若想使用你的软件包管理器安装,在基于 RHEL/CentOS Linux 的系统里你很可能需要 EPEL 仓库. 以下是ansible中文权威指南,介绍安装ansible的所有方法: http://ansible-tran.readthedocs.io/en/latest/docs/intro_installation.h

ThinkPad X220 完美黑苹果 Hackintosh OS X 10.11 El Capitan

原文链接:https://www.gaojinan.com/thinkpad-x220-hackintosh-osx-10-11-el-capitan-perfect.html //Update 2016.11.25 今天官网页面更新了 BIOS 版本至 1.43, BIOS 补丁 For1.43 也有更新,我贴一下新链接, 更新方法与文中提到的方法完全相同. BIOS 1.43 联想官方更新补丁 地址1(推荐) 地址2BIOS 补丁 For1.43 下载地址 MD5: 38ae7f20e1df