Use different Python version with virtualenv

后端 未结 30 3275
自闭症患者
自闭症患者 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条回答
  •  闹比i
    闹比i (楼主)
    2020-11-21 05:21

    In windows subsystem for linux:

    1. Create environment for python3:

      virtualenv --python=/usr/bin/python3 env
      
    2. Activate it:

      source env/bin/activate
      

提交回复
热议问题