diff --git a/meshtastic/__main__.py b/meshtastic/__main__.py index c032a36..657cc41 100644 --- a/meshtastic/__main__.py +++ b/meshtastic/__main__.py @@ -811,6 +811,9 @@ def onConnected(interface): f"*** A newer version v{pypi_version} is available!" ' Consider running "pip install --upgrade meshtastic" ***\n' ) + if sys.version_info[0] == 3 and sys.version_info[1] < 9: + print(" *** this version of the CLI is the last that supports python 3.8 ***") + print(" *** please update your python installation ***") else: print("Showing info of remote node is not supported.") print( diff --git a/meshtastic/util.py b/meshtastic/util.py index 3193802..23f648b 100644 --- a/meshtastic/util.py +++ b/meshtastic/util.py @@ -317,6 +317,9 @@ def support_info(): ) else: print(f" meshtastic: v{the_version}") + if sys.version_info[0] == 3 and sys.version_info[1] < 9: + print(" *** this version of the CLI is the last that supports python 3.8 ***") + print(" *** please update your python installation ***") print(f" Executable: {sys.argv[0]}") print( f" Python: {platform.python_version()} {platform.python_implementation()} {platform.python_compiler()}"