1.用管理员身份打开Windows PowerShell
2.进入项目的:venv\Scripts
如:D:
(1): cd .\project\venv\Scripts\
(2): 执行命令: Set-ExecutionPolicy RemoteSigned
(3): 选择:Y
(4): .\activate
1.用管理员身份打开Windows PowerShell
2.进入项目的:venv\Scripts
如:D:
(1): cd .\project\venv\Scripts\
(2): 执行命令: Set-ExecutionPolicy RemoteSigned
(3): 选择:Y
(4): .\activate