-
Notifications
You must be signed in to change notification settings - Fork 61
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
Error while runing oversteer #233
Comments
Which distro are you using? This issue seems to be related to your distro, and I don't think I can help much with it, but maybe someone will. |
Hello Berarma I am using Mageia 10 Cauldron (dev), I did some test on mageia 9 and it works so I also guess this is a distro problem. Today I confirmed on another mageia 9 and 10 and it also fails on 10. I sent you a message because of this part of the error: A module that was compiled using NumPy 1.x cannot be run in Regards and thanks for your great job. I actually packaged Oversteer for blogdrake unofficial mageia repos. |
It seems your distribution has a mix of modules compiled using NumPy 1.x and 2.1. An application using a module compiled for 1.x can't use at the same time a module compiled for 2.1. Normally, a distribution will compile all modules using the same NumPy version or at least offer the modules compiled using both and the user can choose which version to install. |
Experiencing this exact same issue on Fedora Linux 40 (Linux 6.10.9-200.fc40.x86_64). |
Hello,
Any ideas on how to fix this?
$ oversteer
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.1.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.
Traceback (most recent call last): File "/usr/bin/oversteer", line 53, in
sys.exit(app.run(sys.argv))
File "/usr/lib/python3.12/site-packages/oversteer/application.py", line 131, in run
from oversteer.gui import Gui
File "/usr/lib/python3.12/site-packages/oversteer/gui.py", line 20, in
from .combined_chart import CombinedChart
File "/usr/lib/python3.12/site-packages/oversteer/combined_chart.py", line 2, in
import matplotlib.pyplot as plt
File "/usr/lib64/python3.12/site-packages/matplotlib/init.py", line 161, in
from . import _api, _version, cbook, _docstring, rcsetup
File "/usr/lib64/python3.12/site-packages/matplotlib/rcsetup.py", line 27, in
from matplotlib.colors import Colormap, is_color_like
File "/usr/lib64/python3.12/site-packages/matplotlib/colors.py", line 57, in
from matplotlib import _api, _cm, cbook, scale
File "/usr/lib64/python3.12/site-packages/matplotlib/scale.py", line 22, in
from matplotlib.ticker import (
File "/usr/lib64/python3.12/site-packages/matplotlib/ticker.py", line 143, in
from matplotlib import transforms as mtransforms
File "/usr/lib64/python3.12/site-packages/matplotlib/transforms.py", line 49, in
from matplotlib._path import (
Traceback (most recent call last):
File "/usr/lib64/python3.12/site-packages/numpy/core/_multiarray_umath.py", line 44, in getattr
raise ImportError(msg)
ImportError:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.1.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.
Traceback (most recent call last):
File "/usr/bin/oversteer", line 53, in
sys.exit(app.run(sys.argv))
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/oversteer/application.py", line 131, in run
from oversteer.gui import Gui
File "/usr/lib/python3.12/site-packages/oversteer/gui.py", line 20, in
from .combined_chart import CombinedChart
File "/usr/lib/python3.12/site-packages/oversteer/combined_chart.py", line 2, in
import matplotlib.pyplot as plt
File "/usr/lib64/python3.12/site-packages/matplotlib/init.py", line 161, in
from . import _api, _version, cbook, _docstring, rcsetup
File "/usr/lib64/python3.12/site-packages/matplotlib/rcsetup.py", line 27, in
from matplotlib.colors import Colormap, is_color_like
File "/usr/lib64/python3.12/site-packages/matplotlib/colors.py", line 57, in
from matplotlib import _api, _cm, cbook, scale
File "/usr/lib64/python3.12/site-packages/matplotlib/scale.py", line 22, in
from matplotlib.ticker import (
File "/usr/lib64/python3.12/site-packages/matplotlib/ticker.py", line 143, in
from matplotlib import transforms as mtransforms
File "/usr/lib64/python3.12/site-packages/matplotlib/transforms.py", line 49, in
from matplotlib._path import (
ImportError: numpy.core.multiarray failed to import
The text was updated successfully, but these errors were encountered: