Cannot build because of Extension error

65 views
Skip to first unread message

castania pilonga

unread,
Jan 20, 2021, 11:46:55 AM1/20/21
to sphinx-users
Hello,

I recently upgraded my operating system. I had Trisquel 8 (based on Ubuntu 16.04) and now I have Trisquel 9 (based on Ubuntu 18.04). After the upgrade I cannot build my Sphinx project. When I do make html I get the following error:

Running Sphinx v1.8.5
loading translations [es]... done

Extension error:
Could not import extension sphinx.builders.linkcheck (exception: No module named requests.exceptions)
Makefile:19: recipe for target 'html' failed
make: *** [html] Error 2

How could I fix it?

Komiya Takeshi

unread,
Jan 21, 2021, 12:39:03 PM1/21/21
to sphinx...@googlegroups.com
Hi,

The error says "requests" library not found. Please check and install it.

Thanks,
Takeshi KOMIYA

2021年1月21日(木) 1:46 castania pilonga <labacteri...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/f1fa3017-d835-421e-9399-62837e35577dn%40googlegroups.com.

castania pilonga

unread,
Jan 21, 2021, 4:47:28 PM1/21/21
to sphinx-users
Hey, thank you for your message.

What exactly do I have to install and how?
I tried several things, but did not succeed.
Please take into account that I am not a developer...

Thank you!

Ian Bell

unread,
Jan 21, 2021, 6:33:24 PM1/21/21
to sphinx...@googlegroups.com
pip install requests

castania pilonga

unread,
Jan 21, 2021, 10:36:07 PM1/21/21
to sphinx-users
Yes, that easy thing solved it! Thank you both!
Reply all
Reply to author
Forward
0 new messages