Installation¶
docxgen requires python 2.6 and above to work correctly. It also works with python 3.2 or 3.3 thanks to the six compatibility layer.
Installing a released version¶
You can install the most recent docxgen version using easy_install:
sudo easy_install docxgen
Or you can also use pip:
sudo pip install docxgen
Either way we strongly recommend using these tools in combination with virtualenv.
This will install a docxgen egg in your Python installation’s site-packages directory.
Alternatively you can install from the release tarball:
- Download the most recent tarball from the download page.
- Unpack the tarball.
sudo python setup.py install
Note that the last command will automatically download and install setuptools if you don’t already have it installed. This requires a working Internet connection.
This will install docxgen into your Python installation’s site-packages directory.