Hi,
The package python-usb of wheezy must be 0.4...I recommend download the 1.0
version of PyUSB:
http://sourceforge.net/projects/pyusb/files/PyUSB%201.0/1.0.0-alpha-3/
Unzip the file.Open a terminal go to the folder "pyusb-1.0.0a3"open python:
alan@alan-pc:~$ pythonPython 2.7.3 (default, Mar 8 2013, 07:02:01) [GCC 4.7.2]
on linux2Type "help", "copyright", "credits" or "license" for more
information.>>>
And then:
>>> import usb>>> import usb.core>>> dir(usb.core)['Configuration', 'Device',
>>> 'Endpoint', 'Interface', 'USBError', '_DEFAULT_TIMEOUT',
>>> '_ResourceManager', '__all__', '__author__', '__builtins__', '__doc__',
>>> '__file__', '__name__', '__package__', '_interop', '_logger', '_set_attr',
>>> 'copy', 'find', 'logging', 'operator', 'util']
Regards!
Alan
Date: Sat, 9 Mar 2013 11:58:20 +0100
From: bol...@gmail.com
To: pyusb-users@lists.sourceforge.net
Subject: [pyusb-users] import usb.core fails on wheezy
I'm sorry, this might be very much a beginners question (because I am new to
python and to PyUSB.
I
installed the package python-usb on debian wheezy. When I start python
and type "import usb.core" I got the following error message.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named usb.core
Is something wrong with this package on debian wheezy? What can I do so resolve
this?
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users