Trying to run the example takeoff and land script on windows with python 3.13 throws an error that mavsdk is not present, when it should be as per discussions with @julianoes . Mavsdk was installed with pip, the following versions were installed:
grpcio==1.73.1
mavsdk==3.6.0
protobuf==6.31.1
Here's the error:
[Duplicate warnings removed]
C:\Users\HB Stratos\PycharmProjects\mavsdk-test\.venv\Lib\site-packages\google\protobuf\runtime_version.py:98: UserWarning: Protobuf gencode version 5.29.0 is exactly one major version older than the runtime version 6.31.1 at mission_raw_server/mission_raw_server.proto. Please update the gencode to avoid compatibility violations in the next runtime release.
warnings.warn(
This installation does not provide an embedded 'mavsdk_server' binary.
If you installed using pip, this means that 'mavsdk_server' is not distributed
for your platform yet (e.g. arm).
You will need to get and run the 'mavsdk_server' binary manually:
1. Download 'mavsdk_server' from: https://github.com/mavlink/mavsdk/releases
or build it from source.
2. Run it, e.g. on port 50051:
'./mavsdk_server -p 50051'
3. Set the 'mavsdk_server_address' and port when creating the System:
'drone = System(mavsdk_server_address='localhost', port=50051)'
Process finished with exit code 1
Trying to run the example takeoff and land script on windows with python 3.13 throws an error that mavsdk is not present, when it should be as per discussions with @julianoes . Mavsdk was installed with pip, the following versions were installed:
Here's the error: