I'm having an error when trying **make html**

1,178 views
Skip to first unread message

handav...@gmail.com

unread,
Jun 1, 2018, 4:59:25 PM6/1/18
to sphinx-users
I just got sphinx started when I ran into the following error message after trying to type make html .

Exception Error

Could not import extension sphinx.builders.latex (exception: No module named 'docutils.writers.latex2e'

Reza Roodsari

unread,
Jun 3, 2018, 4:15:13 AM6/3/18
to sphinx-users
You have to install docutils. Here is how I install sphinx 1.7.5 on clean Ubuntu 16.04:

apt-get update -y
apt-get upgrade -y
apt-get install python-setuptools python-dev build-essential  -y
easy_install pip
pip install sphinx-doc
pip install Markdown --upgrade
pip install docutils

And then any other module that may show up as an error, like:

pip install sphinxcontrib-fulltoc
pip install rst2pdf

etc.
Reply all
Reply to author
Forward
0 new messages