Skip to content

MAVSDK not compatible with Python version 3.10.0 #396

Closed
@Pascal91

Description

@Pascal91

Hello,

The following code shall be corrected in "__init__.py" to be compatible with 3.10.0:

# Check for compatibility
if float(".".join(platform.python_version_tuple()[0:-1])) < 3.6:
    print("[!] MAVSDK-Python is only available on Python >= 3.6")
    sys.exit(1)

NB: This is a usual coding/checking error with the X.Y.Z notation ; you should check that "X >= 3 and Y >= 6" and not compare with "X.Y" as a float.

Thanks,
Best regards,
Pascal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions