Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 更新时出现Conda错误:`Conda.core.link:_execute(637):安装程序包时出错';无;。断言者错误()`_Python_Conda - Fatal编程技术网

Python 更新时出现Conda错误:`Conda.core.link:_execute(637):安装程序包时出错';无;。断言者错误()`

Python 更新时出现Conda错误:`Conda.core.link:_execute(637):安装程序包时出错';无;。断言者错误()`,python,conda,Python,Conda,今天,当通过conda update--all更新conda时,它下载了几个软件包,几乎完成了安装,但最后给出了 Preparing transaction: done Verifying transaction: done Executing transaction: done ERROR conda.core.link:_execute(637): An error occurred while installing package 'None'. AssertionError() Atte

今天,当通过
conda update--all
更新conda时,它下载了几个软件包,几乎完成了安装,但最后给出了

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()
()

当我的
conda install anaconda
失败时,命令
conda install conda
也对我有效。但我不知道为什么后者不起作用。否则我会得到
错误conda.core.link:_execute(637)
错误。

问题似乎与环境中的旧包有关,这些包与您尝试更新的包的版本不兼容。通过以下步骤解决:

  • 更新了环境中的软件包,其中包含spyder 3.3.6的依赖项
  • 安装康达lattest vesrion,带

    康达安装康达

  • 使用以下内容更新spyder:

    conda更新spyder


  • 从那以后,我一切都很好

    有相同的错误错误conda.core.link:_execute(637):安装包'None'时发生错误尚未找到解决方案,但存在一个开放问题:我发现
    conda install conda
    最终为我解决了问题。这是在试图删除一堆程序包而没有运气的情况下发生的。########我讨厌计算机#############在conda github上触发了版主,他没有解决方案就锁定了问题。安装
    conda install Con。我猜我应该以某种方式清除旧的安装并下载一个新的安装程序。