Issue about Numpy 2.x vs 1.x #575
Unanswered
none-of-my-names-is-available
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
having installed py-pde, I tried the first example in the documentation involving a Diffusion PDE on a 64 by 64 grid.
on "import py-pde", I get the message:
_A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2._
I did some more simple things with python during the last two years, and I never got a message like this. Does anyone know, how to "compile the module" (py-pde?) for numpy 2.0? I thought that python is an interpreter.
Many thanks in advance
Günter Becker
Beta Was this translation helpful? Give feedback.
All reactions