The PATH in Environment Variables has been updated to be:
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!
Replies are closed for this discussion.
I got that error too and fixed it by uncommenting in mavproxy.py:
# allow running without installing
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.
Great thanks! I have sorted out the file folder directory problems, and un-commenting that line of code does help. Thanks again