Closed yuukireina05 closed 2 years ago
Hi @yuukireina05, in case you have not solved your problem by now, I ran into this issue multiple times (albeit using Windows). The important line from your log is
RuntimeError: module compiled against API version 0xf but this version of numpy is 0xd
which seems to indicate an incompatible version of NumPy. For me it sufficed to
1.22.3
,1.3.0
again.@leifvan Thank you for your reply! It finally worked by following your suggestion.
Now I can import pyk4a
without any problem.
My Desktop information
k4aviewer
runs normally on my desktop.I installed
pyk4a
by calling the commandpip install pyk4a
and required packages by callingmake setup
from the readme of the repo. Also I am sure thatlibk4a.so
is in thebin
of the SDK directory. But it still fails to import modulepyk4a
.The log follows:
Build log of the repo follows:
I set the
LD_LIBRARY_PATH
by addingexport LD_LIBRARY_PATH=/home/nmed/Documents/Code/Azure-Kinect-Sensor-SDK/build/bin
to~/.bashrc
. I also tried replacing the path with/usr/lib/x86_64-linux-gnu
but still got the same import error.I would appreciate it if you could kindly give your suggestion on it help me solving the problem. Thank you!