【发布时间】:2019-08-19 20:11:26
【问题描述】:
我正在尝试更新软件包,并且我正在经历它最终停止并回滚而不更新的过程。我正在尝试运行它(我也尝试过其他包,如 astroML、底图、nltk 等,效果类似):
conda install conda --update-all
这是我得到的错误:
Preparing transaction: done
Verifying transaction: done
Executing transaction: | b'Enabling notebook extension jupyter-js-widgets/extens
ion...\n - Validating: ok\n'
done
ERROR conda.core.link:_execute(696): An error occurred while installing package
'conda-forge::qt-5.9.7-h506e8af_3'.
Rolling back transaction: done
LinkError: post-link script failed for package conda-forge::qt-5.9.7-h506e8af_3
location of failed script: C:\Users\Mike\Anaconda3\Scripts\.qt-post-link.bat
==> script messages <==
<None>
==> script output <==
stdout: 1 file(s) copied.
stderr: 'chcp' is not recognized as an internal or external command,
operable program or batch file.
'chcp' is not recognized as an internal or external command,
operable program or batch file.
'chcp' is not recognized as an internal or external command,
operable program or batch file.
return code: 1
()
我已经尝试了conda.core.link:_execute(637) 和chcp error 的答案,但没有成功。如果我尝试通过 Anaconda Navigator 进行更新,看起来我得到了相同的结果。感谢您对理解和解决此问题的任何帮助,谢谢!
【问题讨论】: