Installing pip using easy_install

后端 未结 6 1725
刺人心
刺人心 2020-12-10 00:42

I don\'t have root access and i want to install python from scratch. So I downloaded the python source code and compiled it. Next I wanted to install pip. But w

6条回答
  •  感动是毒
    2020-12-10 01:21

    Virtualenv to the rescue! It comes with pip, doesn't require root access, and allows you to have different environments each with their own copy of python, pip, and modules. The installation docs list several installation methods, you want the last one called "Use locally from source". Please also have a look at virtualenvwrapper, which is just a set of shell scripts that makes working with virtualenv easier. Google will produce ample tutorials on both of these.

提交回复
热议问题