pythonpip

How to install ruptures with Python 3.11.1 on Windows 10


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!


Solution

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