简体   繁体   English

更新时的Conda错误:`conda.core.link:_execute(637):安装包'None'时发生错误。 Asse田()`

[英]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: 解决了以下步骤:

  1. updated packages in the env with dependencies for spyder 3.3.6 在env中使用spyder 3.3.6的依赖项更新了包
  2. installed lattest vesrion of conda with 用conda安装最新的conda vesrion

    conda install conda conda安装conda

  3. updated spyder with: 更新的spyder:

    conda update spyder

After that everything was fine for me! 之后一切都对我好!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误 conda.core.link:_execute(502): 安装包 'conda-forge::astor-0.7.1-py_0' 时出错 - ERROR conda.core.link:_execute(502): An error occurred while installing package 'conda-forge::astor-0.7.1-py_0' 安装 conda 包时出错:conda.core.link:_execute(696):安装包“conda-forge::qt-5.9.7-h506e8af_3”时出错 - Error installing conda packages: conda.core.link:_execute(696): An error occurred while installing package 'conda-forge::qt-5.9.7-h506e8af_3' 错误 conda.core.link:_execute(699): 安装包 'defaults::openssl-1.1.1l-h2bbff1b_0' 时出错 - ERROR conda.core.link:_execute(699): An error occurred while installing package 'defaults::openssl-1.1.1l-h2bbff1b_0' 错误 conda.core.link:_execute(698):安装包“defaults::icu-58.2-ha925a31_3”时出错 - ERROR conda.core.link:_execute(698): An error occurred while installing package 'defaults::icu-58.2-ha925a31_3' 错误 conda.core.link:_execute(699): 安装包“defaults::qt-5.9.7-vc14h73c81de_0”时出错。 回滚事务:完成 - ERROR conda.core.link:_execute(699): An error occurred while installing package 'defaults::qt-5.9.7-vc14h73c81de_0'. Rolling back transaction: done 错误 conda.core.link:_execute(700): 安装 package 'defaults::qt-5.9.7-vc14h73c81de_0' 时出错 - ERROR conda.core.link:_execute(700): An error occurred while installing package 'defaults::qt-5.9.7-vc14h73c81de_0' 错误 conda.core.link:_execute(701):更新 conda 包时出错 - ERROR conda.core.link:_execute(701): An error occured while updating conda packages 克隆 conda env 失败:错误 conda.core.link:_execute(543) - Cloning conda env fails: error conda.core.link:_execute(543) Julia 中的 PyCall 构建错误和 conda.core.link 错误 - PyCall Build Error and conda.core.link Error in Julia python-docx 不会安装 ERROR conda.core.link:_execute(700) - python-docx won't install ERROR conda.core.link:_execute(700)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM