[英]Conda error on update: `conda.core.link:_execute(637): An error occurred while installing package 'None'. AssertionError()`
Today when updating conda via conda update --all
it downloads several packages and nearly completes installation but at the end, gives 今天通过
conda update --all
它会下载几个软件包并几乎完成安装,但最后给出了
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
ERROR conda.core.link:_execute(637): An error occurred while installing package 'None'.
AssertionError()
Attempting to roll back.
Rolling back transaction: done
AssertionError()
()
The command conda install conda
worked for me also when conda install anaconda
failed for me. 当
conda install anaconda
失败时,命令conda install conda
也为我工作。 I am not sure why the latter does not work though. 我不知道为什么后者不起作用。 Otherwise I would get the
ERROR conda.core.link:_execute(637)
error. 否则我会得到
ERROR conda.core.link:_execute(637)
错误。
The problem seems to be linked with old packages in the env that are not compatible with the version of the package you are trying to update. 该问题似乎与env中与您尝试更新的软件包版本不兼容的旧软件包相关联。 Resolved with the following steps:
解决了以下步骤:
installed lattest vesrion of conda with 用conda安装最新的conda vesrion
conda install conda conda安装conda
updated spyder with: 更新的spyder:
conda update spyder
After that everything was fine for me! 之后一切都对我好!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.