小编Sim*_*eon的帖子

使用替代模块满足点子要求

我正在尝试在我的 Linux Mint 发行版上安装 python 模块“pyAudioProcessing”(https://github.com/jsingh811/pyAudioProcessing),而requirements.txt 中的一项导致了问题:python-magic-bin==0.4.14。当我运行时pip3 install -e pyAudioInstaller,出现错误:

ERROR: Could not find a version that satisfies the requirement python-magic-bin==0.4.14 (from pyAudioProcessing==1.1.5) (from versions: none)
ERROR: No matching distribution found for python-magic-bin==0.4.14 (from pyAudioProcessing==1.1.5)
Run Code Online (Sandbox Code Playgroud)

如果我尝试使用 手动安装模块,则会出现相同的错误pip3 install python-magic-bin。该模块在我的 Windows 机器上安装没有问题。

pypi.org 允许我手动下载文件,但只有 Windows 和 MacOS .whl 文件可用。我尝试简单地从列表中删除该要求,但这导致出现大量其他错误,因此我认为该模块是合法需要的。

你是另一个python-magic-debian-bin我可以下载的模块。有没有一种简单的方法可以说服 pyAudioInstaller 使用另一个模块而不是原来的模块?就像我可以以某种方式重命名python-magic-debian-binpython-magic-bin并希望它能成功吗?

python module pip requirements.txt python-3.7

4
推荐指数
1
解决办法
2289
查看次数

标签 统计

module ×1

pip ×1

python ×1

python-3.7 ×1

requirements.txt ×1