Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please I need help can't get started with MAVSDK-Python, ImportError: cannot import name 'System' from 'mavsdk' #113

Closed
ghost opened this issue Sep 30, 2019 · 5 comments

Comments

@ghost
Copy link

ghost commented Sep 30, 2019

Please, I really don't know how to use this repo,
After installing the mavsdk using the command

pip3 install mavsdk

do I need to clone the repo?.
If I try running the example, I get

from mavsdk import System ImportError: cannot import name 'System' from 'mavsdk''

I can't seem to follow up with the read.me. a little explanation on how to get started would be appreciated. Thanks

@ghost ghost changed the title Please I need help can't get started with MAVSDK-Python, ImportError Please I need help can't get started with MAVSDK-Python, ImportError: cannot import name 'System' from 'mavsdk' Sep 30, 2019
@JonasVautherin
Copy link
Collaborator

That's an issue indeed, I will release a new version tomorrow, so that you can update using pip and the examples will work. Sorry about that 😕!

This was already reported over the week-end in #112, so I'll close this issue. Feel free to continue the discussion there or open a new issue if necessary!

@ghost
Copy link
Author

ghost commented Oct 1, 2019

I did some findings and discovered that System.py module is not available in the downloaded mavsdk package and there was no System class in the init.py module either.

@clarknator
Copy link

Also need help. ImportError: cannot import name 'start_mavlink' when I am in apython and command >>> import start_mavlink

Do I have to generate a MAVSDK_server? I followed 45 minute video where at 20:42 I begin to get errors.
ref https://www.youtube.com/watch?v=VFT4P_N7wc8

@clarknator
Copy link

correction, command I used was >>> from mavsdk import start_mavlink

@JonasVautherin
Copy link
Collaborator

@clarknator: Please don't spam older, closed issues when you already have another one open. Here this one: #197

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants