浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

how to get virtualenv working on DjangoStack? - BitNami Answers

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

posted on 2012-04-24 21:41  lexus  阅读(287)  评论(0编辑  收藏  举报