MAVSDK-Python icon indicating copy to clipboard operation
MAVSDK-Python copied to clipboard

Error getting started with mavsdk package

Open camchaney opened this issue 2 years ago • 2 comments

I can't seem get the mavsdk package started on my Raspberry Pi 4. I installed using pip3 install mavsdk and went to test it out using apython: from mavsdk import System This throws the error: ImportError: /lib/arm-linux-gnueabihf/libstdc++.so.6: version GLIBCXX_3.4.29' not foundI tried it withpython` too and same results.

I tried a couple things to get around this including reinstalling certain packages via a suggestion from another user: pip3 uninstall -y grpcio grpcio-tools sudo apt install -y python3-grpcio python3-grpc-tools This gives another error ModuleNotFoundError: No module named 'grpc'.

How can I fix this and get mavsdk to work?

camchaney avatar Sep 29 '23 19:09 camchaney

Which version is pip trying to pull? Is it really the last one? I thought we were bundling the musl version with MAVSDK-Python, not glibc anymore (see here) :thinking:.

Does the arm64 mavsdk_server from the release page run on your RPi 4?

JonasVautherin avatar Sep 30 '23 21:09 JonasVautherin

@camchaney yes, please post the output of pip3 install --upgrade mavsdk

julianoes avatar Oct 05 '23 04:10 julianoes