pip
,但是当我运行python get-pip.py
时遇到了这个错误:ImportError: cannot import name HTTPSHandler
。由于我没有root访问权限,无法安装所需的内容。因此我认为也许可以使用
easy_install
安装pip
,于是我安装了setuptools
,它包含easy_install
。但是当我运行easy_install pip
时遇到了这个错误: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')
现在该怎么安装pip
呢?我真的快疯了!
编辑:我不能使用virutalenv