From: David P. C. <dav...@gm...> - 2009-01-28 18:41:05
|
Hello, I am having problems installing PyUSB for Cygwin. I've downloaded pyusb-0.4.1.tar.gz from: http://pyusb.berlios.de/ http://sourceforge.net/projects/pyusb --- Then, based on the README file, I follow the steps: -install cygwin -download and execute libusb-win32-filter-bin-0.1.12.1.exe from http://libusb-win32.sourceforge.net $ cp /cygdrive/c/Program\ Files/LibUSB-Win32/lib/gcc/libusb.a /usr/lib/ $ cp /cygdrive/c/Program Files/LibUSB-Win32/src/src/usb.h /usr/include/ $ tar -xvzf pyusb-0.4.1.tar.gz $ cd pyusb-0.4.1 $ python setup.py install running install running build running build_ext running install_lib running install_egg_info Removing /usr/lib/python2.5/site-packages/pyusb-0.4.1-py2.5.egg-info Writing /usr/lib/python2.5/site-packages/pyusb-0.4.1-py2.5.egg-info ++++++++++++++ So, the installation seems to work. However, I try with: $ cd samples $ python usbenum.py Traceback (most recent call last): File "usbenum.py", line 7, in <module> import usb ImportError: No such file or directory ---- and it does not work. What can be the problem? Best regards, DAvid |