2012/2/20 Rinu Cleetus <rinuclee...@gmail.com>:
> Hi All,
>
> I am trying to install pyusb-1.0.0a2 with python 2.4.4. I downloaded the
> pyusb from
> http://space.dl.sourceforge.net/project/pyusb/PyUSB%201.0/1.0.0-alpha-2/pyusb-1.0.0a2.zip
> It says that it supports python version >=2.4.
>
> While installing I get the error:
>
> byte-compiling C:\Python24\Lib\site-packages\usb\core.py to core.pyc
>   File "C:\Python24\Lib\site-packages\usb\core.py", line 535
>     self.bus = int(desc.bus) if desc.bus is not None else None
>                               ^
> SyntaxError: invalid syntax
> byte-compiling C:\Python24\Lib\site-packages\usb\legacy.py to legacy.pyc
>   File "C:\Python24\Lib\site-packages\usb\legacy.py", line 226
>     if isinstance(interface, Interface) else interface
>      ^
> SyntaxError: invalid syntax
> byte-compiling C:\Python24\Lib\site-packages\usb\util.py to util.pyc
>
> Can anyone please tell me whether this version of pyusb is supported on
> Python 2.4.4. It is necessary for me to use python 2.4.4.
>

Latest release I was not able to test against Python 2.4, so some bugs
passed. Anyway, I fixed the errors you reported. Please, pull the
latest master branch from github repo.


-- 
Best Regards,
Wander Lairson Costa

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to