anaconda - 尝试更新 conda 但出现错误无法链接不存在的源
问题描述
我尝试使用该命令更新 conda,conda updade conda
但出现错误:
ERROR conda.core.link:_execute_actions(337): An error occurred while installing package 'defaults::tqdm-4.42.1-py_0'.
CondaError: Cannot link a source that does not exist. C:\Users\User\Anaconda3\Scripts\conda.exe
Running `conda clean --packages` may resolve your problem.
Attempting to roll back.
CondaError: Cannot link a source that does not exist. C:\Users\User\Anaconda3\Scripts\conda.exe
Running `conda clean --packages` may resolve your problem.
解决方案
Joana Santos 的评论似乎意味着:安装“tqdm/tqdm: A Fast, Extensible Progress Bar for Python”修复了某些 4.x 版本的问题(可以在此处找到讨论)。如果没有,请更新或尝试:
conda install tqdm -f
现在这应该可以工作了:
conda update conda
推荐阅读
- java - android studio 中从布局文件到 MainActivity.java 的控制流
- docker - 为什么这个 docker build 尝试安装 MySQL-python 失败?
- kubernetes - 最新的 apacheignite/web-agent:2.7.0/2.6.0 (BOTH) 给出错误“旧版本的代理”并且找不到代理属性文件
- c++ - 为什么在 C++ 中使用可变长度数组是个坏主意?
- android - Android Studio react-native assembleRelease bundleReleaseJsAndAssets 失败
- java - 如何在android中合并一个字符串和一个很棒的图标?
- python - asyncio.run_coroutine_threadsafe 的未来永远挂起?
- c# - c# 序列化和json
- angularjs - 非空白 ng-app 名称停止表达式被评估
- php - 使用 SMTP 协议验证电子邮件在 Cloud Ubuntu VM 实例上不起作用