Missing sphinx.ext.mathbase

356 views
Skip to first unread message

Madhu R

unread,
Oct 21, 2019, 10:33:53 AM10/21/19
to sphinx-users

Hi 

I am building docs using sphinx , python.

so i cloned/built the sphinx using the following commands

git clone https://github.com/sphinx-doc/sphinx.git sphinx
cd sphinx && sudo -E python setup.py install && cd ..

With that i installed the sphinx successfully.

But while the docs i getting the following error.

...
...
...
Running Sphinx v3.0.0+/60a3501

Exception occurred:
  File "/usr/local/lib/python3.5/site-packages/breathe/node_factory.py", line 5, in <module>
    import sphinx.ext.mathbase
ImportError: No module named 'sphinx.ext.mathbase'
The full traceback has been saved in /tmp/sphinx-err-fdcrekva.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!



From the error, i think phython is searching for sphinx.ext.mathbase module, but failed to found.
How to enable isphinx.ext.mathbase in sphinx package  ???

Komiya Takeshi

unread,
Oct 21, 2019, 11:45:16 AM10/21/19
to sphinx...@googlegroups.com
Hi,

sphinx.ext.mathbase was deprecated at Sphinx-1.8.0 and will be removed
in 3.0 release. Now mathbase module has been merged into sphinx-core.
Could you report this to breathe project please?

Thanks,
Takeshi KOMIYA

2019年10月21日(月) 23:33 Madhu R <mad...@pathpartnertech.com>:
> This message contains confidential information and is intended only for the individual(s) named. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this mail and attached file/s is strictly prohibited. Please notify the sender immediately and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.
>
> --
> 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/a35c58b7-fb2a-43fb-8bdd-27f3ad81d68f%40googlegroups.com.

Madhu R

unread,
Oct 22, 2019, 2:18:35 AM10/22/19
to sphinx-users
Thanks Takeshi,

I can do that .

But for the moment can you help me to get rid of the above error, and build the docs successfully, or how to use sphinx-core ?
> To unsubscribe from this group and stop receiving emails from it, send an email to sphinx...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages