How to install wexpect?

Posted by Justine on Stack Overflow See other posts from Stack Overflow or by Justine
Published on 2010-04-12T21:48:15Z Indexed on 2010/04/12 21:52 UTC
Read the original article Hit count: 802

Filed under:
|
|
|

Hello,

I'm running 32-bit Windows XP and trying to have Matlab communicate with Cgate, a command line program. I'd like to make this happen using wexpect, which is a port of Python's module pexpect to Windows. I'm having trouble installing or importing wexpect though. I've put wexpect in the folder Lib, along with all other modules. I can import those other modules but just not wexpect. Commands I've tried include:

import wexpect
import wexpect.py
python wexpect.py install
python wexpect.py install --home=~
wexpect install

Does anyone have anymore ideas?

© Stack Overflow or respective owner

Related posts about pexpect

Related posts about expect