[报错解决]Anacon创建新虚拟环境失败:An unexpected error has occurred. Conda has prepared the above report.

互联网的意义在于高质量的共享

1.报错情景

创建新的Anaconda虚拟环境时

2.报错信息

CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required An unexpected error has occurred. Conda has prepared the above report.

If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers? [y/N]: y
Upload successful.to
download and install packages.

[报错解决]Anacon创建新虚拟环境失败:An unexpected error has occurred. Conda has prepared the above report._第1张图片

3.可能问题

.condarc文件未删除

4.解决方案

(1)在
Anaconda Prompt界面下,输入以下命令:

conda config --show-sources

(2) 检查是否存在.condarc文件

[报错解决]Anacon创建新虚拟环境失败:An unexpected error has occurred. Conda has prepared the above report._第2张图片

(3)图片显示存在.condarc文件,这里为地址,删除即可:

在这里插入图片描述

(4)重新创建Anaconda环境

在这里插入图片描述
大功告成!

PS:若安装失败,可能需要关掉梯子

你可能感兴趣的:(报错解决,conda,python,深度学习,YOLO,人工智能)