- Code: Select all
sudo -H pip2.7 install awscli --upgrade --ignore-installed six
No, I found the above command at
https://github.com/pypa/pip/issues/3165 for macOS 10.13.1 and figured it may also apply to macOS 10.12.
But i did run the other command before, with this output:
$ sudo -H pip2.7 install -U requests[security] --ignore-installed six
Password:
Collecting requests[security]
Using cached requests-2.18.4-py2.py3-none-any.whl
Collecting six
Using cached six-1.11.0-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests[security])
Using cached certifi-2017.11.5-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests[security])
Using cached chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<2.7,>=2.5 (from requests[security])
Using cached idna-2.6-py2.py3-none-any.whl
Collecting urllib3<1.23,>=1.21.1 (from requests[security])
Using cached urllib3-1.22-py2.py3-none-any.whl
Collecting cryptography>=1.3.4; extra == "security" (from requests[security])
Using cached cryptography-2.1.3-cp27-cp27m-macosx_10_6_intel.whl
Collecting pyOpenSSL>=0.14; extra == "security" (from requests[security])
Using cached pyOpenSSL-17.4.0-py2.py3-none-any.whl
Collecting cffi>=1.7; platform_python_implementation != "PyPy" (from cryptography>=1.3.4; extra == "security"->requests[security])
Using cached cffi-1.11.2-cp27-cp27m-macosx_10_6_intel.whl
Collecting enum34; python_version < "3" (from cryptography>=1.3.4; extra == "security"->requests[security])
Using cached enum34-1.1.6-py2-none-any.whl
Collecting asn1crypto>=0.21.0 (from cryptography>=1.3.4; extra == "security"->requests[security])
Using cached asn1crypto-0.23.0-py2.py3-none-any.whl
Collecting ipaddress; python_version < "3" (from cryptography>=1.3.4; extra == "security"->requests[security])
Using cached ipaddress-1.0.18-py2-none-any.whl
Collecting pycparser (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography>=1.3.4; extra == "security"->requests[security])
Installing collected packages: certifi, chardet, idna, urllib3, six, pycparser, cffi, enum34, asn1crypto, ipaddress, cryptography, pyOpenSSL, requests
Successfully installed asn1crypto-0.23.0 certifi-2017.11.5 cffi-1.11.2 chardet-3.0.4 cryptography-2.1.3 enum34-1.1.6 idna-2.6 ipaddress-1.0.18 pyOpenSSL-17.4.0 pycparser-2.18 requests-2.18.4 six-1.11.0 urllib3-1.22
mac-mini-home-server:~ serveradmin$ sudo -H pip2.7 install --ignore-installed pyOpenSSL --upgrade
Collecting pyOpenSSL
Using cached pyOpenSSL-17.4.0-py2.py3-none-any.whl
Collecting cryptography>=1.9 (from pyOpenSSL)
Using cached cryptography-2.1.3-cp27-cp27m-macosx_10_6_intel.whl
Collecting six>=1.5.2 (from pyOpenSSL)
Using cached six-1.11.0-py2.py3-none-any.whl
Collecting cffi>=1.7; platform_python_implementation != "PyPy" (from cryptography>=1.9->pyOpenSSL)
Using cached cffi-1.11.2-cp27-cp27m-macosx_10_6_intel.whl
Collecting enum34; python_version < "3" (from cryptography>=1.9->pyOpenSSL)
Using cached enum34-1.1.6-py2-none-any.whl
Collecting idna>=2.1 (from cryptography>=1.9->pyOpenSSL)
Using cached idna-2.6-py2.py3-none-any.whl
Collecting asn1crypto>=0.21.0 (from cryptography>=1.9->pyOpenSSL)
Using cached asn1crypto-0.23.0-py2.py3-none-any.whl
Collecting ipaddress; python_version < "3" (from cryptography>=1.9->pyOpenSSL)
Using cached ipaddress-1.0.18-py2-none-any.whl
Collecting pycparser (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography>=1.9->pyOpenSSL)
Installing collected packages: six, pycparser, cffi, enum34, idna, asn1crypto, ipaddress, cryptography, pyOpenSSL
Successfully installed asn1crypto-0.23.0 cffi-1.11.2 cryptography-2.1.3 enum34-1.1.6 idna-2.6 ipaddress-1.0.18 pyOpenSSL-17.4.0 pycparser-2.18 six-1.11.0
mac-mini-home-server:~ serveradmin$ sudo -H pip2.7 install ndg-httpsclient
Requirement already satisfied: ndg-httpsclient in /usr/local/lib/python2.7/site-packages
Requirement already satisfied: PyOpenSSL in /usr/local/lib/python2.7/site-packages (from ndg-httpsclient)
Requirement already satisfied: pyasn1>=0.1.1 in /usr/local/lib/python2.7/site-packages (from ndg-httpsclient)
Requirement already satisfied: cryptography>=1.9 in /usr/local/lib/python2.7/site-packages (from PyOpenSSL->ndg-httpsclient)
Requirement already satisfied: six>=1.5.2 in /usr/local/lib/python2.7/site-packages (from PyOpenSSL->ndg-httpsclient)
Requirement already satisfied: cffi>=1.7; platform_python_implementation != "PyPy" in /usr/local/lib/python2.7/site-packages (from cryptography>=1.9->PyOpenSSL->ndg-httpsclient)
Requirement already satisfied: enum34; python_version < "3" in /usr/local/lib/python2.7/site-packages (from cryptography>=1.9->PyOpenSSL->ndg-httpsclient)
Requirement already satisfied: idna>=2.1 in /usr/local/lib/python2.7/site-packages (from cryptography>=1.9->PyOpenSSL->ndg-httpsclient)
Requirement already satisfied: asn1crypto>=0.21.0 in /usr/local/lib/python2.7/site-packages (from cryptography>=1.9->PyOpenSSL->ndg-httpsclient)
Requirement already satisfied: ipaddress; python_version < "3" in /usr/local/lib/python2.7/site-packages (from cryptography>=1.9->PyOpenSSL->ndg-httpsclient)
Requirement already satisfied: pycparser in /usr/local/lib/python2.7/site-packages (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography>=1.9->PyOpenSSL->ndg-httpsclient)