1.Windows+x打开面板,选择以管理员身份运行PowerShell,输入: set-executionpolicy remotesigned,接下来输入“y”表示执行。
2.在pycharm的终端中再次执行activate 或者.\activate即可
3.虚拟环境切换为系统环境:deactivate
1.Windows+x打开面板,选择以管理员身份运行PowerShell,输入: set-executionpolicy remotesigned,接下来输入“y”表示执行。
2.在pycharm的终端中再次执行activate 或者.\activate即可
3.虚拟环境切换为系统环境:deactivate