damiafuentes / DJITelloPy

DJI Tello drone python interface using the official Tello SDK. Feel free to contribute!
MIT License
1.26k stars 493 forks source link

Execute file error on linux #103

Closed HowOldRU closed 3 years ago

HowOldRU commented 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

M4GNV5 commented 3 years ago

It looks like you are using an old python3 version. What distro are you on? What does python3 --version print?