解决 conda 4.6.11 激活环境报错问题

环境4.6.11

使用命令 conda activate tensorflow-gpuenv 激活环境时报错

显示以下错误:

 1# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
 2
 3    Traceback (most recent call last):
 4
 5(此处省略若干行Traceback信息...)
 6
 7An unexpected error has occurred. Conda has prepared the above report.
 8
 9If submitted, this report will be used by core maintainers to improve
10future releases of conda.
11Would you like conda to send this report to the core maintainers?

解决方法

C:\Users\23755\Anaconda3C:\Users\23755\Anaconda3\Scripts 从环境变量 Path 中移除

原因及相关:

conda 4.6 版本不再依赖 PATH 路径的配置了

这是官方发行文档的说明:

1We’re especially excited about this new way of working,
2because removing the need to modify PATH makes Conda much
3less disruptive to other software on your system.

发行文档链接:
https://www.anaconda.com/conda-4-6-release/

留下评论

您的电子邮箱地址不会被公开。 必填项已用*标注