dronekit-pythondronekit

MAVProxy installed by Python can't find required modules


I installed droneapi in the same manner given in the tutorial. However, it's missing all of the important modules that come with MAVProxy, such as console, wx, etc.

Was it supposed to install these modules, or should I move them over from MAVProxy itself instead?

Note: Windows 8 64-bit platform


Solution

  • So in a rare spark of intuition I discovered the answer. The modules required by Dronekit Python can be installed in the following ways:

    Console- type "pip install console" into the WinPython cmd prompt
    WX- http://wiki.wxpython.org/How%20to%20install%20wxPython
    OpenCV- Download and install OpenCV version 2.4, then copy/paste the file cv2.pyd from OpenCV\build\python\2.7\x64\ to \python-2.7.6.amd64\Lib\site-packages.

    At this point it should load all required modules, although it will throw a few exceptions which aren't important.

    As always, 3DR documentation is incomplete. One would think that $800 million dollar profits would mean that they could hire more than 5 programmers for their new platform...