Skip to content
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

FAILED In terminal on the Pi, run the Python program #9

Open
bernardleung opened this issue Apr 28, 2022 · 0 comments
Open

FAILED In terminal on the Pi, run the Python program #9

bernardleung opened this issue Apr 28, 2022 · 0 comments

Comments

@bernardleung
Copy link

  1. In terminal on the Pi, run the Python program lobe-basic-prediction.py
    Type the following commands:

Download File
Copy Code
cd ~
cd lobe-adafruit-kit
python3 lobe-basic-prediction.py

python lobe-basic-prediction.py
RuntimeError: module compiled against API version 0xf but this version of numpy is 0xd
Traceback (most recent call last):
File "/home/pi/lobe-adafruit-kit/lobe-basic-prediction.py", line 5, in
from lobe import ImageModel
File "/usr/local/lib/python3.9/dist-packages/lobe/init.py", line 2, in
from .model.image_model import ImageModel, VizEnum
File "/usr/local/lib/python3.9/dist-packages/lobe/model/image_model.py", line 8, in
from matplotlib import cm
File "/usr/local/lib/python3.9/dist-packages/matplotlib/init.py", line 109, in
from . import _api, _version, cbook, docstring, rcsetup
File "/usr/local/lib/python3.9/dist-packages/matplotlib/rcsetup.py", line 27, in
from matplotlib.colors import Colormap, is_color_like
File "/usr/local/lib/python3.9/dist-packages/matplotlib/colors.py", line 56, in
from matplotlib import _api, cbook, scale
File "/usr/local/lib/python3.9/dist-packages/matplotlib/scale.py", line 23, in
from matplotlib.ticker import (
File "/usr/local/lib/python3.9/dist-packages/matplotlib/ticker.py", line 136, in
from matplotlib import transforms as mtransforms
File "/usr/local/lib/python3.9/dist-packages/matplotlib/transforms.py", line 46, in
from matplotlib._path import (
ImportError: numpy.core.multiarray failed to import
pi@raspberrypi:~/lobe-adafruit-kit $ cd ~
cd lobe-adafruit-kit
python3 lobe-basic-prediction.py
RuntimeError: module compiled against API version 0xf but this versio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant