add pexpect to the standard library, standard "install" mechanism.

Nick Craig-Wood nick at
Fri Jan 20 04:30:03 EST 2006

Robert Kern <robert.kern at> wrote:
>  Installing Pexpect
>  The pexpect-current.tgz tarball is a standard Python Distutil distribution.
>     1. download pexpect-current.tgz
>     2. tar zxf pexpect-current.tgz
>     3. cd pexpect-current
>     4. python install

If on linux you can

  python bdist_rpm

which builds an .rpm to install which you might prefer.

If you want a .deb use alien to convert the rpm

However in the case of this package

  apt-get install python-pexpect

works for me on Debian and hence probably on ubuntu.

Nick Craig-Wood <nick at> --

More information about the Python-list mailing list