Python venv 또는 virtualenv는 윈도우즈에서 활성화되지 않습니다.
1500 단어 pythonwindowsvirtualenvshriekdj
문제.
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.
Reference
이 문제에 관하여(Python venv 또는 virtualenv는 윈도우즈에서 활성화되지 않습니다.), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://dev.to/shriekdj/python-venv-or-virtualenv-wont-activate-on-windows-3e2텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)