Use different Python version with virtualenv

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

    Yes you just need to install the other version of python, and define the location of your other version of python in your command like :

    virtualenv /home/payroll/Documents/env -p /usr/bin/python3

提交回复
热议问题