Use different Python version with virtualenv

后端 未结 30 3382
自闭症患者
自闭症患者 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:37

    These two commands should work fine.

    virtualenv -p python2 myenv (For python2)

    virtualenv -p python3 myenv (For python3)

提交回复
热议问题