在Python 3.7.17环境(Colab及本地Miniconda)中安装pesq 0.0.2失败的问题求助及原因咨询
在Python 3.7.17环境(Colab及本地Miniconda)中安装pesq 0.0.2失败的问题求助及原因咨询
安装时的错误日志
Collecting pesq==0.0.2 Using cached pesq-0.0.2.tar.gz (34 kB) Preparing metadata (setup.py) ... done Building wheels for collected packages: pesq error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. Building wheel for pesq (setup.py) ... error ERROR: Failed building wheel for pesq Running setup.py clean for pesq Failed to build pesq ERROR: Could not build wheels for pesq, which is required to install pyproject.toml-based projects
问题描述
我尝试了各种办法安装pesq库,但不管是在Google Colab还是本地Miniconda环境里都失败了。发现这个库在Python 3.10.12及更高版本中能顺利下载安装,但在Python 3.7.17或者3.7.10版本里就会报错,每次出现的错误都和上面的日志一致。
我已经试过更新多个版本的wheel、setuptools、requests,也确保numpy、cython这些依赖都安装好了,甚至还检查并配置了C编译器g++,但都没解决问题。我还随机搜索尝试了网上的各种代码片段,依然没有效果。
有没有人能帮我解决在Python 3.7.17环境(Colab和本地)中安装pesq 0.0.2的问题?另外能不能详细说说错误的根源到底是什么,这样下次遇到类似问题我就能自己处理了。
备注:内容来源于stack exchange,提问作者Rotnodip Sarkar
相关产品推荐
相关产品推荐

