环境: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\Anaconda3
和 C:\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.