Error when using the command “virtualenv venv” to create Python virtual environment

后端 未结 1 608
我在风中等你
我在风中等你 2021-01-24 11:55

When I used the command virtualenv venv to create the Python virtual environment, the following error occurred:

D:\\Flask>virtualenv venv
Using b         


        
1条回答
  •  闹比i
    闹比i (楼主)
    2021-01-24 12:23

    use python -m venv path/to/your/venv to create a virtual environment and then activate it with path/to/your/venv/Scripts/activate.bat (deactivate for quitting the venv)

    example:

    python -m venv test
    test\Scripts\activate.bat
    (test) deactivate
    

    0 讨论(0)
提交回复
热议问题