13 lines
368 B
Plaintext
13 lines
368 B
Plaintext
|
创建虚拟环境
|
|||
|
python -m venv Fay
|
|||
|
|
|||
|
管理员权限全局修改 解决在vscode中无法激活虚拟环境的问题
|
|||
|
若方法一无效,需以管理员身份操作:
|
|||
|
|
|||
|
右键点击 Windows 开始菜单 → 选择 Windows PowerShell(管理员)
|
|||
|
执行:
|
|||
|
Set-ExecutionPolicy RemoteSigned
|
|||
|
|
|||
|
|
|||
|
.\Fay\Scripts\activate
|
|||
|
pip install -r requirements.txt
|