How to install virtualenv without using sudo?

后端 未结 10 522
暖寄归人
暖寄归人 2020-11-30 23:51

I have easy_install and pip.

I had many errors on my Linux Mint 12, I just re-installed it and I want to install everythin

10条回答
  •  眼角桃花
    2020-12-01 00:16

    The easiest way I have seen so far is to install Anaconda. It may be an overkill for you. For me the centOS running on the remote server had only python2.6 installed. Anaconda by default installs everything locally + it is python2.7

    curl -O https://repo.continuum.io/archive/Anaconda2-4.2.0-Linux-x86_64.sh
    

    Then

    bash Anaconda2-4.2.0-Linux-x86_64.sh
    

    Boom. You have all the packages like numpy and pip installed. Then if you want virtualenv, just type

    pip install virtualenv
    

提交回复
热议问题