In stm32w_flasher added check for pyudev and updated ubuntu package instructions.
This commit is contained in:
parent
108692bb31
commit
6a30e78390
|
@ -12,10 +12,11 @@ import optparse, os, sys, time
|
||||||
try:
|
try:
|
||||||
import serial
|
import serial
|
||||||
import ftdi
|
import ftdi
|
||||||
|
import pyudev
|
||||||
except:
|
except:
|
||||||
print 'Python modules serial and ftdi could not be loaded.'
|
print 'Python modules serial and ftdi could not be loaded.'
|
||||||
print 'Please install these dependencies:'
|
print 'Please install these dependencies:'
|
||||||
print '(On Ubuntu) $ sudo apt-get install python-serial python-ftdi'
|
print '(On Ubuntu) $ sudo apt-get install python-serial python-ftdi python-pyudev'
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
||||||
from messages import infoMessage, errorMessage
|
from messages import infoMessage, errorMessage
|
||||||
|
|
Loading…
Reference in a new issue