Chocolatey 无法安装软件包

问题描述 投票:0回答:1

我正在尝试在我的计算机上完成 Nodejs 安装。之前安装python时失败。所以,我手动安装了它。完成此操作后,chocolatey 仍然无法安装所需的软件包。在使用不同的包进行测试时,我收到以下错误:


PS C:\Ndows\systine22> choco install wxpython
Chocolatey v2.0.2
Installing the following packages:
wxpython
By installing, you accept licenses for the packages.
[NuGet] One or more unresolved package dependency constraints detected in the Chocolatey lib folder. All dependency constraints must be resolved to add or update packages. If these packages are being updated this message may be ignored, if not the following error(s) may be blocking the current package operation: 'python 3.101.5 constraint: python3 (= 3.101.5)'
Unable to resolve dependency 'python3101'. Source(s) used: 'https://community.chocolatey.org/api/v2/'.

Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - wxpython - Unable to resolve dependency 'python3101'. Source(s) used: 'https://community.chocolatey.org/api/v2/'.

有人可以帮我解释这个错误吗?同样,Python3是手动安装的,并且在机器上运行良好。

node.js windows chocolatey
1个回答
0
投票

问题出在错误消息中。

首先,

python3101
不是该源上存在的软件包,并且在最新版本的
wxpython
上不是依赖项,因此我不确定您从哪里获取
wxpython
软件包。

所以你的问题是

wxpython
包依赖于源中不存在的包。返回给维护它的人并要求他们修复它。

其次,您使用的是不受支持的 Chocolatey CLI 版本,因此我要做的第一件事就是升级到最新版本。

© www.soinside.com 2019 - 2024. All rights reserved.