From: Patrick B. <pbi...@us...> - 2010-01-31 21:27:30
|
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 "<stdin>", line 1, in <module> File "/usr/local/lib/python3.1/dist-packages/usb/__init__.py", line 24, in <module> from legacy import * ImportError: No module named legacy By running "python -v -v" and "python3 -v -v", I found that Python 3 is not recursing into dist-packages/usb when it's looking for legacy.py, while 2.6 does. Is this a bug in the v3 __init__.py or is something wrong with my Python 3 setup? -- Patrick |