how to get virtualenv working on DjangoStack?

0

I am trying to get DjangoStack working with virtualenv on Ubuntu 11.04. Ubuntu 11.04 comes with python 2.7.1. DjangoStack comes with python 2.6.5. So I have multiple versions of python running on the box.
I got virtualenv via:

cd ~/djangostack-1.3.1-0/python/bin

./easy_install virtualenv

but

./virtualenv ~/virtual/app

gives the error:

/home/xxxx/djangostack-1.3.1-0/python/bin/.python2.6.bin: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory
xxxx@ubuntu:~/djangostack-1.3.1-0/python/bin$

Does anyone know how to fix this?

thanks,
Danny

virtualenv

djangostack

发表回复