Thanks for the prompt reply ...

libusb is installed in ...
/Library/Python/2.7/site-packages/usb/backend/
which contains the following ...

[image: Inline images 1]

Kind regards ... Bruce


On 10 May 2014 08:22, Wander Lairson Costa <wander.lair...@gmail.com> wrote:

> 2014-05-09 17:53 GMT-03:00 Bruce Lewis <bruce.g.le...@gmail.com>:
> > Good morning ..
> >
> > I have an iMac 7.1 running OS X Mavericks and use Enthought Canopy to run
> > Python.
> > I want to use Python to read data from and write data to USB ports.
> > I have used MacPorts to install PyUSB and libusb using their portfiles.
> > From Idle I have run...
> >
> > import usb.core
> > import usb.util
> > dev = usb.core.find(find_all=True)
> >
> > and receive the following error...
> >
> > Traceback (most recent call last):
> >   File "<pyshell#5>", line 1, in <module>
> >     dev = usb.core.find(find_all=True)
> >   File "/Library/Python/2.7/site-packages/usb/core.py", line 867, in find
> >     raise ValueError('No backend available')
> > ValueError: No backend available
> >
> > I have trawled through the various web sites that identify this error
> and I
> > have been unable to resolve the problem.
> > Does anyone please have a solution?
> >
>
> Where is libusb installed at?
>
> --
> Best Regards,
> Wander Lairson Costa
>
>
> ------------------------------------------------------------------------------
> Is your legacy SCM system holding you back? Join Perforce May 7 to find
> out:
> &#149; 3 signs your SCM is hindering your productivity
> &#149; Requirements for releasing software faster
> &#149; Expert tips and advice for migrating your SCM now
> http://p.sf.net/sfu/perforce
> _______________________________________________
> pyusb-users mailing list
> pyusb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyusb-users
>
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to