Python-docx Missing Default Template
I recently installed the python-docx package and I'm having some trouble with the default template. I'm just setting up a document and have the following code (in a file called mai
Solution 1:
There was a problem in release v0.8.9 that raised this error in certain environments. If you install v0.8.10 this should go away.
$ pip install python-docx==0.8.10
In some Ubuntu and possibly Mint distributions having an older setuptools version, you may also need to update setuptools
:
$ pip install -U setuptools
For whatever reason, those distributions have a v20.x setuptools where the latest is v40.x.
Post a Comment for "Python-docx Missing Default Template"