luxonis/depthai

[BUG] RuntimeError: module compiled against ABI version 0x1000009 but this version of numpy is 0x2000000

MRo47 opened this issue · 2 comments

I'm trying to run the docker image

docker run --privileged -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule='c 189:* rmw' -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --network host --rm -i -t luxonis/depthai:latest python3 /depthai/depthai_demo.py

I get the following error

RuntimeError: module compiled against ABI version 0x1000009 but this version of numpy is 0x2000000
Third party libraries failed to import: numpy.core.multiarray failed to import
Run "python3 install_requirements.py" to install dependencies

Seems like this was seen before: #1185

Have you built the Docker container image on your own, or used the pre-built one?

When building on your own, have you changed the Dockerfile, or changed something inside the Docker image?
(I don't have an OAK-D camera connected right now, cannot test on my side)

Prebuilt one

docker run --privileged -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule='c 189:* rmw' -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --network host --rm -i -t luxonis/depthai:latest python3 /depthai/depthai_demo.py