Using VirtualEnv with multiple Python versions on windows

前端 未结 6 2022
孤街浪徒
孤街浪徒 2020-12-06 01:21

I have python 2.7.6 and 3.4.0 on my machine. The 2.7 version is on my path. I would like to set up a virtualenv using 3.4. There are many postings on SO and elsewhere that s

6条回答
  •  旧时难觅i
    2020-12-06 01:44

    Under Windows you need to run:

    virtualenv -p c:\python34.exe myvirtualenv
    

    The .exe on the end makes all the difference.

提交回复
热议问题