admin管理员组文章数量:1130349
问题描述
Windows系统使用pycharm无法激活已经创建的conda虚拟环境,报错如下:
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
If using 'conda activate' from a batch script, change your
invocation to 'CALL conda.bat activate'.
解决方案:
1、打开power shell
2、右键以管理员身份运行,输入指令进行策略更改:
set-ExecutionPolicy RemoteSigned
输入“Y”
3、在pycharm中重启Terminal即可正常激活虚拟环境
source activate EnvName
问题描述
Windows系统使用pycharm无法激活已经创建的conda虚拟环境,报错如下:
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
If using 'conda activate' from a batch script, change your
invocation to 'CALL conda.bat activate'.
解决方案:
1、打开power shell
2、右键以管理员身份运行,输入指令进行策略更改:
set-ExecutionPolicy RemoteSigned
输入“Y”
3、在pycharm中重启Terminal即可正常激活虚拟环境
source activate EnvName
版权声明:本文标题:windows 系统中,使用pycharm激活conda虚拟环境报错 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/jiaocheng/1763926127a2972064.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论