virtualenv won't activate on windows

后端 未结 18 1640
走了就别回头了
走了就别回头了 2020-12-07 14:05

Essentially I cannot seem to activate my virtualenv environment which I create.

I\'m doing this inside of windows powershell through using

scripts\\a         


        
18条回答
  •  天命终不由人
    2020-12-07 14:31

    In windows Powershell the ExecutionPolicy is set to 'restricted' by default. This does not allow scripts to be run in Powershell.

    We can only run scripts when the ExecutionPolicy is set to 'RemoteSensing' from 'Restricted' You can follow the following video to do that! https://www.youtube.com/watch?v=Q2uLUuq0Ft4

    After the above step ; you can directly type "Scrits/activate" (while being in the directory of the virtual environment that you want to activate) to activate the virtual environment that you wish to activate !

    example

提交回复
热议问题