Problem Setting Up A Virtualenv

后端 未结 4 916
忘了有多久
忘了有多久 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:06

    I haven't run across this particular problem, but I've personally switched from using virtualenv to pythonbrew. pythonbrew is a different solution to the same problem; it works more like rvm in the Ruby community: It builds entirely self-contained versions of Python, from scratch, under $HOME/.pythonbrew; then, it provides shell functions that allow you to switch easily from one to another (editing the path for you, etc.). It's not as lightweight as virtualenv, but it also doesn't piggyback on the system Python, so the whole symlink issue goes away. You can also install multiple Python versions, even if they're not installed in the base system.

    Your mileage may vary, of course, but pythonbrew has been working well for me.

提交回复
热议问题