英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论