Still getting python module "ImportError" message -


i trying run module called mavproxy sets connection between computer (windows 7) , quadcopter. new this, appreciated. have looked around similar problems (there many) no solution has been offered has helped me yet.

the path in environment variables has been updated be: c:\python27\;c:\python27\scripts\;c:\users\...\downloads\mav.

a command prompt has been opened, cd directory mavproxy.py at, try run module typing: python mavproxy.py --master=com5

and following error:

    traceback (most recent call last):     file "mavproxy.py", line 20, in <module>     mavproxy.modules.lib import textconsole     importerror: no module named mavproxy.modules.lib 

here file structure of associated files: c:\users\...\downloads\mav\mavproxy\mavproxy\mavproxy.py

and here beginning code of mavproxy.py:

#!/usr/bin/env python ''' mavproxy - mavlink proxy program  copyright andrew tridgell 2011 released under gnu gpl version 3 or later  '''  import sys, os, struct, math, time, socket import fnmatch, errno, threading import serial, queue, select  import select  # allow running without installing #sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), '..'))   mavproxy.modules.lib import textconsole mavproxy.modules.lib import mp_settings  class mpsettings(object):     def __init__(self): 

i appreciate this,

thanks.

do have mavproxy in pythonpath (or whatever equivalent on windows)?


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -