PyCharm fehlgeschlagen Pakete wegen SSL Installation

stimmen
0

Ich verwende Windows 7 virtuelle Maschine und ich kann nicht ctypes hinzufügen. Meine physische Maschine läuft Ubuntu und die Internet-Verbindung ist ein WiFi-Hotspot.

Ein Fehler ist aufgetreten:

Konnte URL holen https://pypi.org/simple/ctypes/ : ein Problem , bestätigt das SSL - Zertifikat Es war: HTTPSConnectionPool (host = 'pypi.org', port = 443): Max mit url überschritten Versuche: / simple / ctypes / (verursacht durch SSLError (SSLError (1, '_ssl.c: 499: Fehler: 1407742E: SSL - Routinen: SSL23_GET_SERVER_HELLO: TLSv1 Alarmprotokollversion'))) - Überspringen

Befehlsausgabe:

Sammeln ctypes konnte nicht URL holen https://pypi.org/simple/ctypes/ : Es gab ein Problem das SSL - Zertifikat bestätigt: HTTPSConnectionPool (host = 'pypi.org', port = 443): Max mit url überschritten Versuche: / simple / ctypes / (verursacht durch SSLError (SSLError (1, '_ssl.c: 499: Fehler: 1407742E: SSL - Routinen: SSL23_GET_SERVER_HELLO: TLSv1 Alarmprotokollversion'))) - Skipping konnte nicht URL holen https: // pypi. org / simple / pip / : Es gibt ein Problem war , das sSL - Zertifikat bestätigt: HTTPSConnectionPool (host = 'pypi.org', port = 443): Max Wiederholungsversuche mit url überschritten: / simple / pip / (verursacht durch SSLError (SSLError (1 '_ssl.c: 499: Fehler: 1407742E: SSL - Routinen: SSL23_GET_SERVER_HELLO: TLSv1 Alarmprotokollversion'))) - Überspringen

C:\Python27\lib\site-packages\pip-10.0.1-py2.7.egg\pip\_vendor\urllib3\util\ssl_.py:339: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  SNIMissingWarning
C:\Python27\lib\site-packages\pip-10.0.1-py2.7.egg\pip\_vendor\urllib3\util\ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecurePlatformWarning
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/ctypes/
C:\Python27\lib\site-packages\pip-10.0.1-py2.7.egg\pip\_vendor\urllib3\util\ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecurePlatformWarning
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/ctypes/
C:\Python27\lib\site-packages\pip-10.0.1-py2.7.egg\pip\_vendor\urllib3\util\ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecurePlatformWarning
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/ctypes/
C:\Python27\lib\site-packages\pip-10.0.1-py2.7.egg\pip\_vendor\urllib3\util\ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecurePlatformWarning
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/ctypes/
C:\Python27\lib\site-packages\pip-10.0.1-py2.7.egg\pip\_vendor\urllib3\util\ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecurePlatformWarning
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)': /simple/ctypes/
C:\Python27\lib\site-packages\pip-10.0.1-py2.7.egg\pip\_vendor\urllib3\util\ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecurePlatformWarning
  Could not find a version that satisfies the requirement ctypes (from versions: )
No matching distribution found for ctypes
C:\Python27\lib\site-packages\pip-10.0.1-py2.7.egg\pip\_vendor\urllib3\util\ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecurePlatformWarning
Veröffentlicht am 18/12/2018 um 11:14
quelle vom benutzer
In anderen Sprachen...                            


1 antworten

stimmen
0

Versuchen Sie, Ihre urllib Sicherheitspakete über pip zB zu aktualisieren.

pip install urllib3[secure]

Dies sollten Sie führen: https://urllib3.readthedocs.io/en/latest/user-guide.html#ssl-py2

Ihr urllib scheint mit TLSv1 zuzugreifen pypi zu versuchen. Sehr wahrscheinlich, dass sie nicht zulassen, dass es Ihnen, mehr.

Holen Sie sich Ihre Werkzeugkette auf dem neuesten Stand und Sie sollten in Ordnung sein.

aktualisieren:

Wie Zeug mit Pip auf Fenster in verschiedenen Versionen zu tun , ist bereits hier beantwortet: Wie installiere ich pip auf Windows?

Beantwortet am 18/12/2018 um 12:56
quelle vom benutzer

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more