开发者

Creating Virtualenv

开发者 https://www.devze.com 2023-03-07 05:28 出处:网络
I have a problem setting up a Virtualenv on my web host server (to install python modules later on) So far I tried this using SSH-access:

I have a problem setting up a Virtualenv on my web host server (to install python modules later on)

So far I tried this using SSH-access:

wget http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.5.2.tar.gz
tar xzf virtualenv-1.5.2.tar.gz
~/usr/lib/python2.4 virtualenv-1.5.2/virtualenv.py ~/data/env

or

~/usr/lib/python2.4 setup.py install

I don't get any errors or output and cannot find the ~/data/env-directory 开发者_开发技巧that should be created. What is going wrong? Or what is the next step?

Thanks, Wienel


Make sure that the installation path in is PYTHON_PATH environment variable.


You can try

$ python couch.py

to check if you running in the Python you think you are.

0

精彩评论

暂无评论...
验证码 换一张
取 消