Hi

New to both python and pyusb. For fun, I'm trying to read what an IrDA usb dongle is receiving. I've read the programming pyusb tutorial but I'm afraid I get stuck on the first line of code: import usb.core

I have installed a filter from libusb-win32-1.2.2.0 (followed the instructions given by the wizard) on my SigmaTel irDA driver. The testlibusb program that came with the install seems to indicate that everything is working.

I installed python 2.6.6 since I read that pyusb need to have python 2.6.x to work.

I ran the pyusb-0.4.3.win32-py2.6.exe. So far everything ok.

In the IDLE gui I get the following result:


IDLE 2.6.6
>>> import usb.core

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import usb.core
ImportError: No module named core
>>>


What have I done wrong? Running python on Windows 7 32 bit.

/Tomas
------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to