Closed HowOldRU closed 3 years ago
$ python3 simple.py Traceback (most recent call last): File "simple.py", line 1, in from djitellopy import Tello File "/home/zxj/DJITelloPy/djitellopy/init.py", line 1, in from .tello import Tello, BackgroundFrameRead File "/home/zxj/DJITelloPy/djitellopy/tello.py", line 16 drones: Optional[dict] = {} ^ SyntaxError: invalid syntax
It looks like you are using an old python3 version. What distro are you on? What does python3 --version print?
python3 --version
$ python3 simple.py Traceback (most recent call last): File "simple.py", line 1, in
from djitellopy import Tello
File "/home/zxj/DJITelloPy/djitellopy/init.py", line 1, in
from .tello import Tello, BackgroundFrameRead
File "/home/zxj/DJITelloPy/djitellopy/tello.py", line 16
drones: Optional[dict] = {}
^
SyntaxError: invalid syntax