Hi Xiaofan

Hmm, what is your USB device?
What I mean by pyusb 1.0 is this one.
http://sourceforge.net/projects/pyusb/files/


I have downloaded and unzipped this. Then ran "python setup.py install"
within this folder. This gave me

F:\Python26\Lib\site-packages\usb

folder with about a dozen files, one if them is core.pyc, another core.py

When I use
import usb.core
in my main file it still raises errors for
- unresolved import: usb
- unresolved import: usb.core

Is this rather a python/eclipse setup problem?

Juerg

2010/5/31 Xiaofan Chen <xiaof...@gmail.com>

> On Mon, May 31, 2010 at 6:58 PM, juerg maier <juerg.ma...@jmid.ch> wrote:
> > Hi Xiaofan
> > Thanks for your reply. Made also a try for d2xx (PyUSB-1.6.win32-py2.6)
> but
> > it throws an error on the import d2xx line.
> > Downloaded also PIL module for working with images and this worked
> perfectly
> > in my environment.
> > I see that the USB modules work with .pyd extension, might that cause an
> > issue with my setup?
>
> Hmm, what is your USB device?
> What I mean by pyusb 1.0 is this one.
> http://sourceforge.net/projects/pyusb/files/
>
> The other PyUSB is for FTDI device.
> http://bleyer.org/pyusb/
>
> --
> Xiaofan http://mcuee.blogspot.com
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> pyusb-users mailing list
> pyusb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyusb-users
>
>
>


-- 
JmiD GmbH
Jürg Maier
Trungerstrasse 33
9543 St. Margarethen
071 960 18 35 / 079 377 11 71
juerg.ma...@jmid.ch / www.jmid.ch
------------------------------------------------------------------------------

_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to