发布时间:2022-08-09 文章分类:编程知识 投稿人:李佳 字号: 默认 | | 超大 打印

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