virtualenv in PowerShell?

后端 未结 13 2087
悲&欢浪女
悲&欢浪女 2020-12-12 20:32

Hi fellow pythonistas, there seems to be a problem when virtualenv is used in PowerShell.

When I try to activate my environment in PowerShell like..

> env

13条回答
  •  鱼传尺愫
    2020-12-12 21:24

    Just run first

    Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
    

    and then

    ./env/Scripts/activate.sp1
    

    That's all

提交回复
热议问题