Use different Python version with virtualenv

后端 未结 30 3872
自闭症患者
自闭症患者 2020-11-21 05:03

I have a Debian system currently running with python 2.5.4. I got virtualenv properly installed, everything is working fine. Is there a possibility that I can use a virtuale

30条回答
  •  醉梦人生
    2020-11-21 05:28

    Under Windows for me this works:

    virtualenv --python=c:\Python25\python.exe envname
    

    without the python.exe I got WindowsError: [Error 5] Access is denied I have Python2.7.1 installed with virtualenv 1.6.1, and I wanted python 2.5.2.

提交回复
热议问题