Installation de pip en utilisant easy_install

Je n'ai pas accès à la racine et je veux installer python à partir de zéro. Donc j'ai téléchargé le code source python et compilé. Ensuite, j'ai voulu installer pip. Mais quand j'ai couru python get-pip.py j'ai eu cette erreur:

ImportError: cannot import name HTTPSHandler

De ne pas avoir accès à la racine alors je ne pouvais pas installer des trucs nécessaires. Alors j'ai pensé que peut-être je peux installer pip avec easy_install j'ai donc installé setuptools qui a easy_install. Mais quand je lance easy_install pipj'obtiens cette erreur:

Searching for pip
Reading https://pypi.python.org/simple/pip/
Download error on https://pypi.python.org/simple/pip/: unknown url type: https -- Some packages may not be found!
Couldn't find index page for 'pip' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: unknown url type: https -- Some packages may not be found!
No local packages or download links found for pip
error: Could not find suitable distribution for Requirement.parse('pip')

Alors maintenant, comment faire pour installer pip? Je suis vraiment fou!

Edit: je ne peux pas utiliser virutalenv

source d'informationauteur Jack Twain