Using VirtualEnv with multiple Python versions on windows

前端 未结 6 2006
孤街浪徒
孤街浪徒 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条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-06 01:43

    If above measures are not working, try this( using venv instead of virtualenv):

    python -m venv venvname
    

    (replace python with python.exe path if it is not listed in environment variable path settings)

提交回复
热议问题