From: Wander L. <wan...@gm...> - 2009-11-06 01:49:48
|
Hi Joe, It feels like this error comes from libusb. Moreover, it feels like a deployment issue, try to install libusb 0.1 from sources. If it doesn't work, try to backtrack a few libusb minor version and try again. Whatever, it is maybe a good to report your problem to libusb mailing list. If you know a bit of C language, you could try to write a little program que calls usb_bulk_read, just to see if the system can resolv the symbol... Wander 2009/11/6 Joe Chiocchi <inp...@gm...>: > I'm having troubles with pyusb under snow leopard. I think it may be related > to libusb - however I have tried several different methods for getting > libusb installed (through fink, macports, and a binary package from > mac-TWAIN) > Here is the error I get when I try importing pyusb: >>>> import usb > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "build/bdist.macosx-10.6-universal/egg/usb.py", line 7, in <module> > File "build/bdist.macosx-10.6-universal/egg/usb.py", line 6, in > __bootstrap__ > ImportError: > dlopen(/Users/Joe/.python-eggs/pyusb-0.4.2-py2.6-macosx-10.6-universal.egg-tmp/usb.so, > 2): Symbol not found: _usb_bulk_read > Referenced from: > /Users/Joe/.python-eggs/pyusb-0.4.2-py2.6-macosx-10.6-universal.egg-tmp/usb.so > Expected in: flat namespace > in > /Users/Joe/.python-eggs/pyusb-0.4.2-py2.6-macosx-10.6-universal.egg-tmp/usb.so > I did use easy_install to install pyusb, but I have gotten the same error > when installing it from source. > > > Anyone have smilar issues? > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Pyusb-users mailing list > Pyu...@li... > https://lists.sourceforge.net/lists/listinfo/pyusb-users > > |