如何在Windows 10上使用Python 3.11.1安装ruptures

huangapple go评论66阅读模式
英文:

How to install ruptures with Python 3.11.1 on Windows 10

问题

我使用3.11.1版本创建了一个新的Python环境,并按照文档安装了numpy和scipy依赖项。但是当我尝试使用pip安装ruptures时,出现了以下错误:

Failed to build ruptures
ERROR: Could not build wheels for ruptures, which is required to install pyproject.toml-based projects

我还尝试了pip install --no-binary :all: ruptures命令,并且得到了以下错误:

pip subprocess to install build dependencies did not run successfully.
│ exit code: 1

关于如何解决这个问题,有什么想法吗?谢谢!

英文:

I created a new Python environment with 3.11.1, and installed the numpy and scipy dependencies per documentation. But then when I try to pip install ruptures it gives this error:

Failed to build ruptures
ERROR: Could not build wheels for ruptures, which is required to install pyproject.toml-based projects

I also tried pip install --no-binary :all: ruptures
And get this error:

pip subprocess to install build dependencies did not run successfully.
│ exit code: 1

Any ideas on how to resolve this issue? Thanks!

答案1

得分: 1

同样的问题,只需将Python版本降级至3.10,问题就应该解决。

英文:

Same problem here, just downgrade the Python version to 3.10 and it should work.

huangapple
  • 本文由 发表于 2023年2月10日 04:40:51
  • 转载请务必保留本文链接:https://go.coder-hub.com/75404220.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定