ImportError: cannot import name HTTPSHandler installieren get-pip.py

Bin ich immer diese Fehlermeldung wenn ich versuche zu installieren pip2.7.
Ich habe python 2.7 als meinen Standard schon, aber ich bin mir nicht sicher, warum ich immer diese.

OS: CentOS 6.5

OpenSSL bereits installiert.
Ich folgte dieser Anleitung zum installieren von Python 2.7:
http://toomuchdata.com/2014/02/16/how-to-install-python-on-centos/

[root@myservername arandomfolder]# python get-pip.py
Traceback (most recent call last):
  File "get-pip.py", line 17474, in <module>
    main()
  File "get-pip.py", line 17466, in main
    bootstrap(tmpdir=tmpdir)
  File "get-pip.py", line 17406, in bootstrap
    import pip
  File "/tmp/tmpXq2wUP/pip.zip/pip/__init__.py", line 10, in <module>
  File "/tmp/tmpXq2wUP/pip.zip/pip/util.py", line 18, in <module>
  File "/tmp/tmpXq2wUP/pip.zip/pip/_vendor/distlib/version.py", line 14, in <module>
  File "/tmp/tmpXq2wUP/pip.zip/pip/_vendor/distlib/compat.py", line 31, in <module>
ImportError: cannot import name HTTPSHandler
welches os verwenden Sie?
Ich bin mit Centos 6.5 installiert ich habe Python 2.7 und es kommt auch mit Python2.6 vorinstalliert ich habe OpenSSL installiert als gut.
Ich war nach dieser Anleitung zu installieren Python2.7 toomuchdata.com/2014/02/16/how-to-install-python-on-centos
ist python unter Bezugnahme auf python 2.6 oder 2.7?
Seine Bezugnahme auf Python 2.7 # die python alias python='/usr/local/bin/python2.7' /usr/local/bin/python2.7

InformationsquelleAutor Shiro | 2014-06-29

Schreibe einen Kommentar