Skip to content
shimniok edited this page Sep 18, 2014 · 35 revisions

Installing the Python OpenMV-IDE

Linux Debian, Ubuntu, Mint

 $ sudo apt-get install libusb-1.0-0

Install PyUSB

 $ sudo apt-get install python-pip
 $ sudo pip install pyusb

If you are getting the following error:

   Could not find a version that satisfies the requirement pyusb (from versions: 1.0.0a2, 1.0.0a2, 1.0.0a3, 1.0.0a3, 1.0.0b1)

Then use the --pre flag instead.. It tells pip to accept pre-release (alpha, beta) versions.

 $ sudo pip install --pre pyusb

Install other requried Python software

 $ sudo apt-get install python-numpy
 $ sudo pip install pySerial
 $ sudo apt-get install python-gtksourceview2

and then...

Flashing Firmware

Install dfu-utils

You can install from distribution provided the dfu-util version supports DFU 1.1 (version 0.7+)

 $ sudo apt-get install dfu-util

Otherwise, download from dfu-util.gnumonks.org, run ./configure && sudo make install. If you see the following error, I have no idea what to do yet. :)

 configure: error: *** Required libusb-1.0 >= 1.0.0 not installed ***

Install ARM toolchain

Install an IDE

Clone this wiki locally