hmmm, I think something like this should work: try: import usb except: print "PyUSB not found"
Wander 2009/1/2 Phil Hannent <[email protected]>: > Hello, > > I am setting up my application to start the driver and that is all OK. My > question is what is the best way to determine if the Linux machine has python > and PyUSB installed? > > Regards > Phil Hannent > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Pyusb-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pyusb-users > > ------------------------------------------------------------------------------ _______________________________________________ Pyusb-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyusb-users
