pip installieren tls/ssl
Ich habe ein problem mit dem installieren von python auf meinen OVH vps-server, kubuntu 14.04 desktop. Was muss ich tun ?
:~/Desktop# python get-pip.py
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting pip
Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
Could not find a version that satisfies the requirement pip (from versions: )
No matching distribution found for pip
- welche version von
python
haben Sie? - pip installieren von ssl
- Klingt wie Sie installiert Python durch laufen machen, richtig ? In diesem Fall würde ich empfehlen, die Installation von libssl-dev und Umbau+Neuinstallation von Python
Du musst angemeldet sein, um einen Kommentar abzugeben.
Sollten Sie versuchen, installieren form Ihre Pakete repos
Aufrufen, mehr Aufmerksamkeit auf @Arduino_Sentinel 's Kommentar
Auf einer frischen debian-installation hatte ich installiert Python-3.6 über
erstellen einer virtualenv mit
virtualenv -p python3.6 env
und anschließend versucht zu installieren, nichts mitenv/bin/pip
produzieren würde, die Fehler aus der Frage.Den Kommentar oben zitierten löste das Problem auf meinem server.