Use different Python version with virtualenv

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

    It worked for me on windows with python 2 installation :

    1. Step 1: Install python 3 version .
    2. Step 2: create a env folder for the virtual environment.
    3. Step 3 : c:\Python37\python -m venv c:\path\to\env.

    This is how i created Python 3 virtual environment on my existing python 2 installation.

提交回复
热议问题