Re: [pyusb-users] [Pyusb-users] PyUSB and Python 3

2010-02-05 Thread Wander Lairson
I fixed this issue at rev 44, but broken compatibility with Python 2.4 and 2.5. At rev 45 I fixed the compatibility issues. Wander 2010/2/4 Wander Lairson : > I have been investigating the problem and found the answer. Python 3 > changed the rules to find intra-package modules. You do it through

Re: [pyusb-users] [Pyusb-users] PyUSB and Python 3

2010-02-04 Thread Wander Lairson
I have been investigating the problem and found the answer. Python 3 changed the rules to find intra-package modules. You do it through relative imports. Details can be found here: http://diveintopython3.org/porting-code-to-python-3-with-2to3.html#import But now I am stuck. I would like to make P

Re: [Pyusb-users] PyUSB and Python 3

2010-01-31 Thread Wander Lairson
I haven't tested PyUSB with Python 3 yet. Therefore the most probable is that this is an issue with PyUSB. Could you please open a bug in the sf tracker? Wander 2010/2/1 Patrick Birnzain : > Hi! > > I have a problem with PyUSB and Python 3: > Everything seems to run fine with Python 2.6, but when

[Pyusb-users] PyUSB and Python 3

2010-01-31 Thread Patrick Birnzain
Hi! I have a problem with PyUSB and Python 3: Everything seems to run fine with Python 2.6, but when I'm using Python 3.1, an ImportError is raised when I try to import any part of PyUSB: >>> import usb.core Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.