Cannot import dronekit on Python 3

See original GitHub issue

Hello.

I am trying make programs with dronekit and python 3 on windows 10 1809. But when I import dronekit library, python shows error like bellow.

>>> from dronekit import connect
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\otsuka\AppData\Local\Programs\Python\Python37-32\lib\site-packages\dronekit\__init__.py", line 2192
    await = set(types)
          ^
SyntaxError: invalid syntax

Must I use python 2.7?

Thank you.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
pietrodncommented, Jul 2, 2020
0reactions
AlexanderZ3commented, Nov 10, 2022

hi

not yet you can try Tello EDU to validate the drone-related algorithm. which has mature SDK and is not expensive.

best zezhong

At 2022-11-07 12:28:44, “Anagh Benjwal” @.***> wrote:

Hi how do i install dronekit using the github respository?

were you able to solve this?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing DroneKit
DroneKit -Python can be installed on a Linux, Mac OSX, or Windows computer that has Python 2.7 and can install Python packages from...
Read more >
dronekit/dronekit-python - Gitter
Has anyone had an issue where python fails to load the connect module in dronekit? import dronekit Traceback (most recent call last): File ......
Read more >
raspbian - Why I am unable to import dronekit?
Whenever I use pip install it states we successfully installed . Now I have used the following commands. pi@raspberrypi:~ $ python -m dronekit...
Read more >
Problems with Dronekit and MAVproxy - ArduPilot Discourse
I am running dronekit-sitl on Python 3 in Windows 10 (I know python 3 ... from dronekit import connect, VehicleMode, LocationGlobalRelative, ...
Read more >
Dronkit-python installation issues - dronekit - Stack Overflow
Goodevening everyone, I am trying to install dronekit on my new laptop, pip is already installed on it but when i try to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found