当前位置:网站首页>Solve the problem that pychar's terminal cannot enter the venv environment

Solve the problem that pychar's terminal cannot enter the venv environment

2022-06-26 08:07:00 wangHenri

Entry project ->Terminal, Use pip list List installed packages , It is found that the packages listed are not in the virtual environment .
resolvent :
Entering the project venv\Scripts Catalog , And then run activate Script , Activate the virtual environment :
Note here , Must enter venv\Scripts Directory before running .\activate

If a permission error occurs : Shows that you cannot run the script
Open as an administrator PowerShell
Carry out orders set-executionpolicy remotesigned, choice Y
Restart the computer

原网站

版权声明
本文为[wangHenri]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202170605223707.html