virtualenv v16.7.2 powershell activate script: “You must 'source' this script: PS> . .\ENV\Scripts\activate” error

后端 未结 4 965
情话喂你
情话喂你 2021-01-04 20:44

The Problem

Newest version of virtualenv (16.7.2) on python v.3.7.4 has 4 additional lines for the "activate.ps1" script, which when run on Windows10 powe

4条回答
  •  无人及你
    2021-01-04 21:03

    I have also faced this issue. To solve this I created a new virtualenvironment as follows:

    python -m venv directory-name
    

    To activate:

    Scripts>./activate
    

    And Now it's working fine...

提交回复
热议问题