Help with MAVProxy

I am having trouble running MAVProxy in my computer (Windows 7) to connect to my quadrotor. I have downloaded both MAVProxy and mavlink-1.0.9 and not changed anything in them.

 

The PATH in Environment Variables has been updated to be:

C:\Python27\;C:\Python27\Scripts\;C:\Users\...\Downloads\Mav

 

A command prompt has been opened, cd to directory where mavproxy.py is at, then I try to run the module by typing:

python mavproxy.py --master=COM5

 

I get the following error:

Traceback (most recent call last):
File "mavproxy.py", line 20, in <module>
from MAVProxy.modules.lib import textconsole
ImportError: No module named MAVProxy.modules.lib

 

I have tried troubleshooting the problem a lot of different ways by modifying the folder names, relocating the folder names, etc. Any help is appreciated!

You need to be a member of diydrones to add comments!

Join diydrones

Replies are closed for this discussion.

Replies

  • Hi,

    I got that error too and fixed it by uncommenting in mavproxy.py:

    # allow running without installing
    sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), '..'))

    I also checked out mavlink to the same parent dir as MAVProxy and did (Linux) inside the MAVProxy dir:

    dongfang@dongfang-ThinkPad-T60:~/workspace/MAVProxy$ ln -s ../mavlink/pymavlink
    dongfang@dongfang-ThinkPad-T60:~/workspace/MAVProxy$ ln -s ../mavlink/message_definitions

    This makes links to necessary stuff in mavlink. You can also just copy it if your OS does not support links well.

    Regards

    Soren

This reply was deleted.

Activity

DIY Robocars via Twitter
yesterday
DIY Robocars via Twitter
RT @_JonMyer: 🏎 We need your help in naming my #AWS DeepRacer Underground Track 🏎 @davidfsmith's track is going to be referred to as 𝗔𝗪𝗦 𝗗…
Thursday
DIY Robocars via Twitter
RT @gclue_akira: 仕事もおわったし、電脳化にとらい #マリオカートハック https://t.co/4IU90hCLgm
Thursday
DIY Robocars via Twitter
This is the hashtag to follow all the people in Japan who are hacking the new Nintendo Mario Kart with the real AR… https://twitter.com/i/web/status/1319281354664677376
Thursday
DIY Robocars via Twitter
RT @gclue_akira: @chr1sa @diyrobocars jupyter mario https://t.co/P0oHdjlCRq
Thursday
DIY Robocars via Twitter
RT @_JonMyer: 🚨Our 1st AWS DeepRacer Community Race is Underway on http://twitch.tv/aws 🚨 Join us to find out which member of your commu…
Tuesday
DIY Robocars via Twitter
Monday
DIY Robocars via Twitter
RT @BackyardRobotcs: After an admittedly long wait, the new Tinymovr R3.3 motor controller is now available https://tinymovr.com 🥳
Monday
DIY Robocars via Twitter
RT @_JonMyer: 🏎 1 hr left before the #AWS #DeepRacer Community 🏎 Top 5 Race tomorrow LIVE on Twitch 1st Place = $50 Amazon GC or AWS Credit…
Monday
DIY Robocars via Twitter
Oct 16
DIY Robocars via Twitter
Oct 15
DIY Robocars via Twitter
Oct 14
DIY Robocars via Twitter
RT @davidfsmith: Race virtually with The AWS DeepRacer Community Race and then join us on the track to see how your times compare on the ph…
Oct 14
DIY Robocars via Twitter
Oct 14
Hiroki Tanaka liked Hiroki Tanaka's profile
Oct 13
DIY Robocars via Twitter
RT @breadcentric: It's now!
Oct 13
More…