PyCharm 显示无法加载文件 D:...,因为在此系统上禁止运行脚本。
PyCharm 显示
无法加载文件 D:\python test\AI_CV\venv\Scripts\activate.ps1,因为在此系统上禁止运行脚本。
解决方法:
win+x点击Windows PowerShell(管理员)

在命令行输入set-executionpolicy remotesigned
,再输入y确认

然后重新启动PyCharm,就没有再报错了
