Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.48 KB

INSTALL.rst

File metadata and controls

42 lines (26 loc) · 1.48 KB

Installing Twisted

Installation Requirements

To install Twisted, you need:

  • Python 2.7 (full functionality) or 3.3/3.4/3.5 (subset of functionality).
  • setuptools (installed automatically if you use pip).
  • Zope Interface 3.6.0 or newer. Zope Interface 4.0 or newer is required for Python 3. Installing via pip will automatically download a suitable Zope Interface.
  • On Windows pywin32 is required. Build 219 or later is highly recommended for reliable operation (this is already included in ActivePython).

We also have setuptools extras for automatically installing optional packages used by Twisted.

Installing Twisted

To install the latest version of Twisted using pip:

$ pip install twisted

You can install optional dependencies for specific functionality in Twisted (such as TLS or serial support) by using our setuptools extras (see above).

As an example, to install Twisted with the TLS dependencies, use:

$ pip install twisted[tls]

Additionally, there are packages available in the repositories of:

  • Debian and Ubuntu as python-twisted for Python 2.
  • FreeBSD as py-twisted for Python 2.
  • Arch as python-twisted for Python 2.
  • Fedora and RHEL as python-twisted for Python 2.