junzis / pyModeS

Python decoder for Mode S and ADS-B signals
GNU General Public License v3.0
527 stars 151 forks source link

modeslive --hex2bin bug #75

Closed sdradsb closed 3 years ago

sdradsb commented 3 years ago

modeslive --source rtlsdr Traceback (most recent call last): File "/home/lal/.local/bin/modeslive", line 10, in from pyModeS.streamer.decode import Decode File "/home/lal/.local/lib/python2.7/site-packages/pyModeS/init.py", line 8, in from . import py_common as common File "/home/lal/.local/lib/python2.7/site-packages/pyModeS/py_common.py", line 7 def hex2bin(hexstr: str) -> str: ^ SyntaxError: invalid syntax

I am getting this while I try to run the "modeslive".

junzis commented 3 years ago

Python 2 is not supported. You need to update your Python to 3.6+.