If using 'conda activate' from a batch script, change your invocation to 'CALL conda.bat activate'.

橙三吉。 提交于 2020-04-08 11:59:06

Windows PowerShell 运行  conda activate python36 切换python版本时报错

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'.

解决办法:改为用 cmd 运行

总结:PowerShell 有时不好使

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!