summaryrefslogtreecommitdiff
path: root/doc/install.rst
blob: 297acf3f5bcf42240bed80dddd73d34ded1eeb31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Installation
============

Pexpect is on PyPI, and can be installed with standard tools::

    pip install pexpect

Or::

    easy_install pexpect

Requirements
------------

This version of Pexpect requires Python 2.6 or 3.2 or above. For older
versions of Python, continue using Pexpect 2.4.

Pexpect only works on POSIX systems, where the :mod:`pty` module
is present in the standard library. It may be possible to run it on Windows
using `Cygwin <http://www.cygwin.com/>`_.