虚拟环境 activate失败

创建虚拟环境后用activate激活失败, 提示activate无法作为可执行命令

img

你用的powershell
启动虚拟环境应该使用:

.\Activate.ps1

cmd下才可以使用 activate启动虚拟环境

.\activate