Hello John,<br><br><div class="gmail_quote">On 30 November 2010 16:57, John Smith <span dir="ltr">&lt;<a href="mailto:jocjo.s@verizon.net">jocjo.s@verizon.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi, Walter -<br>
<br>
I did the above and then got this:<br>
<br>
&gt;&gt;&gt; import serial<div class="im"><br>
<br>
Traceback (most recent call last):<br></div>
  File &quot;&lt;pyshell#0&gt;&quot;, line 1, in &lt;module&gt;<br>
    import serial<br>
  File &quot;E:\Python27\lib\site-packages\serial\__init__.py&quot;, line 18, in &lt;module&gt;<br>
    from serialwin32 import *<br>
  File &quot;E:\Python27\lib\site-packages\serial\serialwin32.py&quot;, line 9, in &lt;module&gt;<br>
    import win32file  # The base COM port and file IO functions.<br>
ImportError: No module named win32file<br>
&gt;&gt;&gt;<br>
<br>
I guess that file was included in 2.5 but not in 2.4?<br></blockquote></div><br>Apparently so.  Well, win32file is part of the PyWin32 package, which are a set of modules that wrap many Windows API&#39;s.   I&#39;m not sure why it was&#39;t/isn&#39;t required for PySerial 2.5 or whether as you say perhaps this module is included in PySerial2.5 and isn&#39;t in 2.4. <br>
<br>But whatever the case may be, suffice it to say I&#39;ve reproduced your issue on my Win7 64bit box, and then resolved it by installing the PyWin32 modules.   It&#39;s probably a good idea to install this package anyway -- if you&#39;re working on Windows the PyWin32 modules are very useful - they basically wrap and makes available a shedload of Windows specific API&#39;s to Python. (Many people working with Python on Windows almost automatically would install this, it&#39;s also why i didn&#39;t run into this issue in the first place as I already had PyWin32 installed prior to testing my suggestion. Sorry.)<br>
<br>Anyway.  To download and install PyWin32, go here: <a href="http://ur.ly/vLwv">http://ur.ly/vLwv</a><br><br>Presumably you want the AMD64 (64 bit) Py2.7 version.   Install it then try your test again.  <br><br>Fingers crossed. ;)<br>
<br>Walter<br>