We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 73118a5 + 0e6cc50 commit 927ff95Copy full SHA for 927ff95
mavsdk/__init__.py
@@ -7,7 +7,8 @@
7
from .system import System
8
9
# Check for compatibility
10
-if float(".".join(platform.python_version_tuple()[0:-1])) < 3.6:
+(major, minor, _) = platform.python_version_tuple()
11
+if not ((int(major) >= 3 and int(minor) >= 6) or (int(major) >= 4)):
12
print("[!] MAVSDK-Python is only available on Python >= 3.6")
13
sys.exit(1)
14
0 commit comments