Python venv 또는 virtualenv는 윈도우즈에서 활성화되지 않습니다.

문제.


Unable to Activate the Virtual Environment In Windows Operating System.


디테일


The issue is specifically for Powershell of Windows Operating System While Activating the virtualenv of Python which does not allow us to run scripts in Powershell Window.


첫 번째 솔루션


Try Running below command in Powershell


Set-ExecutionPolicy Unrestricted -Scope Process

두 번째 솔루션


Try Running below command in Powershell


Set-ExecutionPolicy Unrestricted -Force

세 번째 솔루션


Don't run the File at .\Scripts\activate or .\Scripts\activate.bat.
Instead Run The File At location .\Scripts\activate.ps1.


네 번째 솔루션


Use the Unix like command Shells Instead of Powershell for example Git Bash Is Lightweight Cli Tool.

좋은 웹페이지 즐겨찾기