Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not import extension sphinx.ext.imgconverterrecommonmark #7446

Closed
Borda opened this issue Apr 9, 2020 · 1 comment
Closed

Could not import extension sphinx.ext.imgconverterrecommonmark #7446

Borda opened this issue Apr 9, 2020 · 1 comment

Comments

@Borda
Copy link

Borda commented Apr 9, 2020

Describe the bug

I had problem with SVG images in latexpdf generation so I followed #1907 and added 'sphinx.ext.imgconverter' among extensions but then get this error

py_ImSegm/docs$ make clean ; make latexpdf
Running Sphinx v2.4.0

Extension error:
Could not import extension sphinx.ext.imgconverterrecommonmark (exception: No module named 'sphinx.ext.imgconverterrecommonmark')
Makefile:19: recipe for target 'latexpdf' failed
make: *** [latexpdf] Error 1

To Reproduce
cd docs ; make clean ; make latexpdf

Expected behaviour
having compiled PDF

Your project
Borda/pyImSegm#24

Screenshots
If applicable, add screenshots to help explain your problem.

Environment info

ImgConverter                       2.0.0
Sphinx                             2.4.0            
sphinx-autodoc-annotation          1.0.post1        
sphinx-autodoc-typehints           1.6.0            
sphinx-paramlinks                  0.3.7            
sphinxcontrib-applehelp            1.0.1            
sphinxcontrib-confluencebuilder    1.1.0            
sphinxcontrib-devhelp              1.0.1            
sphinxcontrib-fulltoc              1.2.0            
sphinxcontrib-github               0.1.3            
sphinxcontrib-htmlhelp             1.0.2            
sphinxcontrib-jsmath               1.0.1            
sphinxcontrib-mockautodoc          0.0.1.dev20130518
sphinxcontrib-pandoc-markdown      1.6.8            
sphinxcontrib-qthelp               1.0.2            
sphinxcontrib-serializinghtml      1.1.3            
sphinxcontrib-websupport           1.1.0
recommonmark                       0.6.0
@Borda Borda added the type:bug label Apr 9, 2020
@tk0miya
Copy link
Member

tk0miya commented Apr 9, 2020

I guess you're missing a comma after imgconverter. Please check your conf.py carefully!

Could not import extension sphinx.ext.imgconverterrecommonmark (exception: No module named 'sphinx.ext.imgconverterrecommonmark')

@Borda Borda closed this as completed Apr 10, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants