Problem Setting Up A Virtualenv

后端 未结 4 919
忘了有多久
忘了有多久 2020-12-10 17:25

I\'m trying to set up a virtualenv on Ubuntu 10.04 with Python 2.6.5 but having some issues.

After having installed virtualenv and virtualenv wrapper with pip, I\'m

4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-10 18:22

    This error occurs because the virtualenv.py file you are using is not compatible with the python version that you are using.. For python2.7 you need to downalod the binaries from the virtualenv.org site and then compile them using

    python setup.py install
    

    after the installation use the installed binary(not the virtualenv.py file) to create virtual environment by

    virtualenv --no-site-packages /env/
    

提交回复
热议问题