使用 miniconda 创建虚拟环境的时候,报错:

An unexpected error has occurred. Conda has prepared the above report.

网上找了很多方法,都是说:

方法一

执行 conda clean --packages && conda clean --all && conda update --all

方法二

删除这个文件

C:\Users[user_name].condarc

上述方法可能可以,但是如果试了好几次都不行的话,问题可能是因为你开了 VPN 或者 系统代理!
所以解决办法就是: 关掉VPN或禁用代理!!!关掉VPN或禁用代理!!!关掉VPN或禁用代理!!!

-----------------------------------分割线-----------------------------------
2022.2.20 添加:

如果想开代理下载python的库,可以使用以下方法(win10系统,亲测可用):

  • 运行以下代码获取代理地址和端口号:
>>> from urllib.request import getproxies
>>> getproxies()
{'https': 'http://127.0.0.1:xxxxx', 'http': 'http://127.0.0.1:xxxxx'}

xxxxx为端口号。

  • 添加windows系统变量:

    1. win+r,输入 sysdm.cpl
    2. 高级 -> 环境变量 -> 系统变量一栏中新建:
    3. 重启电脑

参考:https://github.com/conda/conda/issues/9794

An unexpected error has occurred. Conda has prepared the above report. 解决办法相关推荐

  1. Conda安装时报错“An unexpected error has occurred. Conda has prepared the above report.”

    小技巧 第一章 Linux中安装Radian Conda安装时报错"An unexpected error has occurred. Conda has prepared the abov ...

  2. Anaconda: An unexpected error has occurred. Conda has prepared the above report.

    莫名奇妙出现这个问题: # >>>>>>>>>>>>>>>>>>>>>&g ...

  3. window10下conda使用报错:An unexpected error has occurred. Conda has prepared the above report.

    在我使用anaconda3创建环境,跑实验时,把镜像三搞两搞,搞出了问题,卡死了 An unexpected error has occurred. Conda has prepared the ab ...

  4. anaconda :An unexpected error has occurred. Conda has prepared the above report

    文章目录 anaconda创建新的虚拟环境时出现以下错误 解决办法 碎碎念 anaconda创建新的虚拟环境时出现以下错误 student1@guest-server:~$ conda create ...

  5. An unexpected error has occurred. Conda has prepared the above report

    欢迎加入大家庭: 企鹅交流群号:722058911 conda创建虚拟环境的时候报错: An unexpected error has occurred. Conda has prepared the ...

  6. 创造虚拟环境报错An unexpected error has occurred. Conda has prepared the above report.解决方案

    一.创造一个虚拟环境报错**:** An unexpected error has occurred. Conda has prepared the above report.Upload did n ...

  7. An unexpected error has occurred. Conda has prepared the above report. Upload did not complete.

    [已解决] 使用conda报错: An unexpected error has occurred. Conda has prepared the above report. Upload did n ...

  8. conda create新建环境失败报错:An unexpected error has occurred. Conda has prepared the above report.

    问题描述: 在linux中使用conda create命令新建环境报错如下: (base) [@localhost SPOT-1D-LM]$ conda create -n spot_1d_lm py ...

  9. An unexpected error has occurred. Conda has prepared the above report.

    一.报错 二.解决 其实就是因为挂了vpn,把电脑上有的vpn关了错误就会消失

最新文章

  1. .net 下直接读分区数据,并生成ISO光盘镜像文件,含DEMO
  2. linux学习笔记十(Raid基本知识)
  3. php文本文件操作,PHP文本操作类
  4. node中间件mysql_nodejs 中使用mysql数据有没有类似 mongoose 的中间件?
  5. ActiveMQ已准备好黄金时段
  6. 2016OSC源创会年终盛典-综合技术专场-张小刚
  7. android图标错误的是什么意思啊,Android错误:找不到与给定名称匹配的资源(在icon处,值为@drawable/icon) - Android - srcmini...
  8. java treemap_Java TreeMap pollFirstEntry()方法与示例
  9. python执行shell命令
  10. ajax表单图片,js中使用ajax上传一个带有图片的表单数据
  11. 使用二维NDRange workgroup
  12. 非科班前端人的一道送命题:0.1+0.2 等于 0.3 吗?
  13. 结对编程之求首尾相连数组中最大子数组的和
  14. UE4开发学习笔记(双人游戏共享视角,共享相机)
  15. 2021强网杯 LongTimeAgo
  16. 用Python分析《都挺好》中的人物关系
  17. EChart案例-折线面积渐变色
  18. Java:详解Java中的异常(Error与Exception)
  19. 中国最大的“隐形首富”,掌舵中国最大汽车集团,身价高达760亿
  20. 2022春招字节跳动校招内推码: UX8B35W

热门文章

  1. 华为vlan的多种划分方式
  2. python爬虫 京东,苏宁,小米众筹网站信息爬取
  3. 有什么是适合情侣间做的事情?
  4. 易语言支持库配置闪退丨支持库配置崩溃_易语言打开支持库配置就闪退怎么办?
  5. 淘宝改版!不同账号价格不同,技术就这么用?
  6. 【JavaScript—数组】详解js数组一篇文章吃透js-数组
  7. LISP 圆孔标记_做了一个检查图框内字体和标注的插件 - AutoLISP/Visual LISP 编程技术 - CAD论坛 - 明经CAD社区 - Powered by Discuz!...
  8. PaddleDetection行人分析工具PP-Human案例实操
  9. excel怎么设置打印区域_第六节 EXCEL打印预览和页眉页脚设置
  10. 解决文件夹正在使用无法删除的问题