Trollius supports Python 2.7, 3.3 and 3.4.
There is an experimental support of Python 3.5. Issues with Python 3.5:
- don’t support asyncio coroutines
Support of Python 2.6 and 3.2 was dropped in Trollius 2.1.
Install Trollius on Windows using pip¶
Since Trollius 0.2, precompiled wheel packages are now distributed on the Python Cheeseshop (PyPI). Procedure to install Trollius on Windows:
Install pip, download
If you already have pip, ensure that you have at least pip 1.4. If you need to upgrade:
\Python27\python.exe -m pip install -U pip
\Python27\python.exe -m pip install trollius
pip also installs the
Only wheel packages for Python 2.7, 3.3 and 3.4 are currently distributed on the Cheeseshop (PyPI). If you need wheel packages for other Python versions, please ask.
Download source code¶
Command to download the development version of the source code (
git clone https://github.com/haypo/trollius.git -b trollius
The actual code lives in the
trollius subdirectory. Tests are in the
See the trollius project at Github.
The source code of the Trollius project is in the
trollius branch of the
Mercurial repository, not in the default branch. The default branch is the
Tulip project, Trollius repository is a fork of the Tulip repository.
Trollius requires the six module.
Python 2.7 requires futures to get a
Build manually Trollius on Windows¶
On Windows, if you cannot use precompiled wheel packages, an extension module
must be compiled: the
_overlapped module (source code:
Read Compile Python extensions on Windows
to prepare your environment to build the Python extension. Then build the
C:\Python27\python.exe setup.py build_ext
To support old Python versions, many Python modules of the standard library have been backported:
|collections.OrderedDict||2.7, 3.1||ordereddict (PyPI)|
|unittest||2.7, 3.1||unittest2 (PyPI)|