From: Rinu C. <rin...@gm...> - 2012-02-20 08:31:58
|
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. Thanks & Regards, Rinu |