Python: win32console import problem

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-04-01T10:37:28Z Indexed on 2010/04/01 10:43 UTC
Read the original article Hit count: 415

Filed under:
|
|

I want to run wexpect (the windows port of pexpect) on my Windows 7 64-bit machine. I am getting the following error: C:\Program Files (x86)\wexpect\build\lib>wexpect.py Traceback (most recent call last): File "C:\Program Files (x86)\wexpect\build\lib\wexpect.py", line 97, in raise ImportError(str(e) + "This package was intended for Windows like operating systems.") ImportError: No module named win32console This package requires the win32 python packages.This package was intended for Windows like operatin g systems.

In the code it is failing on the following line: from win32console import *

I am using Python 2.6.4. I cannot figure out how to install win32console.

© Stack Overflow or respective owner

Related posts about python

Related posts about expect