Skip to content Skip to sidebar Skip to footer

How To Install Python Docx Module On Mac Osx

I'm trying to generate .docx files using Python. I searched the web and posts here and found a module: https://github.com/mikemaccana/python-docx/blob/master/README.markdown It say

Solution 1:

Pip can install straight from the git repository

You just have to tell him to use git and give him the URL of the git rep

pip install git+git://github.com/mikemaccana/python-docx.git

You will also need to install lxml (as written in the setup.py) and PIL (as you will discover when you try to import the module).

pip install PIL
pip install lxml
pip install python-dateutil

Post a Comment for "How To Install Python Docx Module On Mac Osx"