I’ve been using odrive with raspberry pi before just fine, but lately I updated the Raspberry Pi OS to the latest. Then, I installed Odrive packages just like getting started guide. Unforshinatlly I have been getting this issue I and I don’t know what to do. I have tested many command for numpy to install it or to change the version number but that didn’t work.
This is the error I get:
pi@raspberrypi:~ $ odrivetool
ModuleNotFoundError: No module named ‘numpy.core._multiarray_umath’
Traceback (most recent call last):
File “/usr/local/bin/odrivetool”, line 19, in
from odrive.utils import OperationAbortedException
File “/usr/local/lib/python3.7/dist-packages/odrive/utils.py”, line 10, in
import matplotlib.pyplot as plt
File “/usr/local/lib/python3.7/dist-packages/matplotlib/init.py”, line 107, in
from . import _api, cbook, docstring, rcsetup
File “/usr/local/lib/python3.7/dist-packages/matplotlib/rcsetup.py”, line 26, in
from matplotlib.colors import Colormap, is_color_like
File “/usr/local/lib/python3.7/dist-packages/matplotlib/colors.py”, line 82, in
from matplotlib import _api, cbook, scale
File “/usr/local/lib/python3.7/dist-packages/matplotlib/scale.py”, line 18, in
from matplotlib.ticker import (
File “/usr/local/lib/python3.7/dist-packages/matplotlib/ticker.py”, line 179, in
from matplotlib import transforms as mtransforms
File “/usr/local/lib/python3.7/dist-packages/matplotlib/transforms.py”, line 46, in
from matplotlib._path import (
ImportError: numpy.core.multiarray failed to import