You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extension error:
Could not import extension sphinxfortran.fortran_autodoc (exception: cannot import name 'Directive' from 'sphinx.directives' (unknown location))
Running Sphinx v2.1.2
Extension error:
Could not import extension sphinxfortran.fortran_domain (exception: cannot import name 'Directive' from 'sphinx.util.compat' (/home/tianli/anaconda3/lib/python3.7/site-packages/sphinx/util/compat.py))
The text was updated successfully, but these errors were encountered:
PC configuration:
OS ubuntu 16.04
I read some blogs about it includes:
google groups(https://groups.google.com/forum/#!topic/sphinx-users/gQfMxDsXQo0)
read the file(https://sphinx-fortran.readthedocs.io/en/latest/)
and related GitHub
I found it hasn't update for a while, is it still compatible with the new version's sphinx?
It is because I cannot import extensions like sphinxfortran.fortran_domain, sphinxfortran.fortran_autodoc in conf.py
the error message is:
Running Sphinx v2.1.2
Extension error:
Could not import extension sphinxfortran.fortran_autodoc (exception: cannot import name 'Directive' from 'sphinx.directives' (unknown location))
Running Sphinx v2.1.2
Extension error:
Could not import extension sphinxfortran.fortran_domain (exception: cannot import name 'Directive' from 'sphinx.util.compat' (/home/tianli/anaconda3/lib/python3.7/site-packages/sphinx/util/compat.py))
The text was updated successfully, but these errors were encountered: