[报错解决]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.

在这里插入图片描述

3.可能问题

.condarc文件未删除

4.解决方案

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

conda config --show-sources

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

图片显示存在

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

在这里插入图片描述

(4)重新创建Anaconda环境

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

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

  • 8
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值