-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Pip module fails to build with Python 3.13 #24318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
Indeed. If you use CPython |
Even with numpy main I can't get it to build due to meson lacking Python 3.13 support (mesonbuild/meson#12401) |
Thanks @domdfcoding. I'll get that fixed. |
Okay, I had a look and that'll be a while. I fixed two of the issues, and then hit:
That's a private function used by Cython. There's a reason we don't test with Python pre-releases until May or so - lots of things get randomly broken. I'll fix up a few things, but then it's up to whoever cares about this to submit patches. It's about 6 months early for us to really worry about Python 3.13. |
What version was this fixed in? I get problems installing v1.26.4 on Python 3.13-dev. |
From the log, you are using cython 3.0.11. Does |
I upgraded my cython version to v3.1.0a0 with this:
And it still fails to install this:
|
I think you need to do |
Nope, that totally bombs out with:
I'm not after a fix; I just wanted to report that it doesn't consistently work on Python 3.13. |
Right, python3.13 is not supported with 1.26.4. You need to use 2.1+. Sorry I didn't notice that previously. |
I just installed python 3.13.0 and didn't have any problem installing numpy 1.26.4.
|
Describe the issue:
Since distutils is deprecated, it's been removed in Python 3.13.
That means that trying to install Numpy via pip package gives this error:
Reproduce the code example:
Error message:
Runtime information:
(No currently running NumPy installation)
Context for the issue:
The latest version of the NumPy sources should come with detailed instructions for compiling NumPy and requirements from source.
The text was updated successfully, but these errors were encountered: