首页 > 解决方案 > 尝试更新 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.

标签: anacondaconda

解决方案


Joana Santos 的评论似乎意味着:安装“tqdm/tqdm: A Fast, Extensible Progress Bar for Python”修复了某些 4.x 版本的问题(可以在此处找到讨论)。如果没有,请更新或尝试:

conda install tqdm -f

现在这应该可以工作了:

conda update conda

推荐阅读