Using python Serial module on windows

Diez B. Roggisch deets at nospam.web.de
Mon Oct 6 05:45:13 EDT 2008


Holger wrote:

> Hi
> 
> I'm using python Serial from:
> http://switch.dl.sourceforge.net/sourceforge/pyserial/pyserial-2.4.tar.gz
> 
> to implement ymodem and other protocols on the PC com port
> 
> And it works like a charm in cygwin, but when I try to use it directly
> in python under windows using active state python installation, it
> says it's missing the module win32file.
> But the win32file module looks like it is no longer in development and
> support stopped at python 2.2
> 
> Am I going about this issue the wrong way?
> Can anyone suggest a way out of this fix?

http://pyserial.wiki.sourceforge.net/pySerial

"""
Requirements

Python 2.2 or newer

pywin32 extensions on Windows

"Java Communications" (JavaComm) or compatible extension for Java/Jython
"""

Do you have pywin32? If not, you might consider installing active state
python, which comes included with them.

Diez




More information about the Python-list mailing list