【发布时间】:2021-06-07 12:02:16
【问题描述】:
这是我关于 miniconda 安装 qt 的问题。
C:\Users\wenka\miniconda3\pkgs>conda install --use-local qt-5.9.7-vc14h73c81de_0.tar.bz2
准备交易:完成
验证交易:完成
执行事务:完成
错误 conda.core.link:_execute(699):安装包“::qt-5.9.7-vc14h73c81de_0”时出错。
回滚事务:doneenter code here
enter code here
LinkError: post-link script failed for package <unknown>::qt-5.9.7-vc14h73c81de_0
location of failed script: C:\Users\wenka\miniconda3\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.
我曾尝试使用 conda install qt5.9.7 安装 qt,但失败了。
【问题讨论】:
-
尝试找出无法识别
chcp的原因。这是 Qt 链接后脚本尝试使用的标准 DOS 命令(与语言配置有关)。也许尝试打开命令提示符并运行where chcp。您能否将conda info的输出添加到您的问题中?