PIP installation Paramiko failed _macos version 10.11.6

Source: Internet
Author: User
Tags deprecated parent directory rfc

Error message:

sudo pip Install cryptography

Password:

The directory '/users/wanghao/library/caches/pip/http ' or its parent directory was not owned by the current user and the CA Che has been disabled. Please check the permissions and owner for that directory. If executing pip with sudo, your may want sudo ' s-h flag.

The directory '/users/wanghao/library/caches/pip ' or its parent directory isn't owned by the current user and caching whe Els has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, your 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 have no ' subjectaltname ', falling back to check for a ' commonname ' F or now. This feature was 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 have no ' subjectaltname ', falling back to check for a ' commonname ' F or now. This feature was 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 have no ' subjectaltname ', falling back to check for a ' commonname ' F or now. This feature was 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 have no ' subjectaltname ', falling back to check for a ' commonname ' F or now. This feature was 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 have no ' subjectaltname ', falling back to check for a ' commonname ' F or now. This feature was 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 have no ' subjectaltname ', falling back to check for a ' commonname ' F or now. This feature was 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 have no ' subjectaltname ', falling back to check for a ' commonname ' F or now. This feature was 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 have no ' subjectaltname ', falling back to check for a ' commonname ' F or now. This feature was 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 have no ' subjectaltname ', falling back to check for a ' commonname ' F or now. This feature was 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 have no ' subjectaltname ', falling back to check for a ' commonname ' F or now. This feature was 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):

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 +, 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 ' ")]

Workaround:


Pip Install Paramiko--ignore-installed

PIP installation Paramiko failed _macos version 10.11.6

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.