问题描述
尝试在 Visual Studio 代码中为 python 3.0 安装音频差异,但收到一条错误消息,指出找不到与 mutagen==1.21 匹配的发行版。 我尝试安装mutagen 1.21,但仍然无法安装audiodiff。
解决方法
因此,从 this issue 来看,这些库(mutagenwrapper
和 audiodiff
)似乎是为 Python2 编写的,因此如果您使用的是 Python3,它们将无法工作。
幸运的是,看起来 @SteveClement 已经将它们更新为 Python3(感谢 this comment 指出)。
所以,安装他的版本:
pip install git+https://github.com/SteveClement/mutagenwrapper.git
pip install git+https://github.com/SteveClement/audiodiff.git
我无法测试这些,但请告诉我这是否适合您。