In stm32w_flasher adapted error message for missing pyudev.
This commit is contained in:
parent
6a30e78390
commit
0de2e6dded
@ -14,7 +14,7 @@ try:
|
|||||||
import ftdi
|
import ftdi
|
||||||
import pyudev
|
import pyudev
|
||||||
except:
|
except:
|
||||||
print 'Python modules serial and ftdi could not be loaded.'
|
print 'Python modules serial, ftdi and pyudev 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 python-pyudev'
|
print '(On Ubuntu) $ sudo apt-get install python-serial python-ftdi python-pyudev'
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
Loading…
Reference in New Issue
Block a user