You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering an issue while testing my package, GeoNexus, in a Conda environment (geo2). The error message suggests that a module compiled with NumPy 1.x is not compatible with NumPy 2.2.2, and it may require recompilation with NumPy 2.0 or later. The traceback points to pyogrio as a possible affected module.
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some modules may need to be rebuilt 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.
Environment Details:
OS: Windows
Python Version: 3.12
Conda Environment: geo2
NumPy Version: 2.2.2
Affected Module: Possibly pyogrio
Troubleshooting Attempts:
Tried downgrading NumPy to <2.0 (resolved the error but not ideal for long-term support).
Checked pyogrio installation; it may require rebuilding for NumPy 2.x compatibility.
I would appreciate any advice on how to properly resolve this issue, particularly regarding GeoNexus compatibility with NumPy 2.x and potential module recompilation strategies. I have attached screenshots for reference.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I am encountering an issue while testing my package, GeoNexus, in a Conda environment (geo2). The error message suggests that a module compiled with NumPy 1.x is not compatible with NumPy 2.2.2, and it may require recompilation with NumPy 2.0 or later. The traceback points to pyogrio as a possible affected module.
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some modules may need to be rebuilt 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.
Environment Details:
OS: Windows
Python Version: 3.12
Conda Environment: geo2
NumPy Version: 2.2.2
Affected Module: Possibly pyogrio
Troubleshooting Attempts:
Tried downgrading NumPy to <2.0 (resolved the error but not ideal for long-term support).
Checked pyogrio installation; it may require rebuilding for NumPy 2.x compatibility.
I would appreciate any advice on how to properly resolve this issue, particularly regarding GeoNexus compatibility with NumPy 2.x and potential module recompilation strategies. I have attached screenshots for reference.
Beta Was this translation helpful? Give feedback.
All reactions