2016-12-12 1 views
8

J'ai un problème avec l'installation de python sur mon bureau OVH vps server kubuntu 14.04. Ce que je dois faire ?pip installer nécessite tsl/ssl

:~/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 
+0

version de 'python' avez-vous? –

+0

pip install ssl –

+3

On dirait que vous avez installé Python en exécutant make, non? Dans ce cas, je vous recommande d'installer libssl-dev et de reconstruire + réinstaller Python –

Répondre

2

Vous devriez essayer d'installer vos paquets former repo

sudo apt-get install python-pip 
+0

Merci. Maintenant, il fonctionne –

+0

pourriez-vous voter la réponse après et marquer cela comme utile, car il vous a aidé? ,, Cheers! :) –

+8

Et si la mise à jour de pip via le gestionnaire de paquets n'est pas une option? – Enrico