mac OS Catalina python 3.6.5
Ich habe Python für eine Weile verlassen (ungefähr ein Jahr), aber als ich versuchte, ein neues Paket "pip install
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting numpy-stl (Paketname, den Sie dieses Mal zu installieren versucht haben)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/numpy-stl/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/numpy-stl/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/numpy-stl/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/numpy-stl/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/numpy-stl/
Could not fetch URL https://pypi.org/simple/numpy-stl/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/numpy-stl/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)) - skipping
ERROR: Could not find a version that satisfies the requirement numpy-stl (from versions: none)
ERROR: No matching distribution found for numpy-stl
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)) - skipping
Nach der Untersuchung verschiedener Dinge als Lösung --pip Update
Immerhin habe ich es gelöst, indem ich die Version von Python angehoben und meine Meinung mit pip geändert habe. (Möglicherweise müssen Sie unterwegs das Xcode-Befehlszeilentool aktualisieren.) Ich habe also "pyenv" benutzt
pyenv install 3.8.1
pyenv global 3.8.1
pip install (Paket, das Sie installieren möchten)
Die Installation wurde erfolgreich abgeschlossen! !! !!
Wenn Sie verzweifelt nach dem gleichen Problem suchen, würde ich mich freuen, wenn dies das Problem lösen könnte. Ich hoffe du magst es! !! Bitte!
Recommended Posts