- MNE version: development
- operating system: e.g. Windows 11 WSL2
Hello! I am making some modifications to the mne documentation and I am having a bit of trouble building the local documentation. I have already installed the required dependencies (requirements_doc.txt, graphviz, optipng), but after I run make html-noplot
, I get the fallowing error:
sphinx-build -D plot_gallery=0 -b html -d _build/doctrees -nWT --keep-going . _build/html
Running Sphinx v7.2.6
Building documentation for MNE 1.5.1 (/home/woess/mambaforge/envs/mnedev/lib/python3.11/site-packages/mne/__init__.py)
Using pyvistaqt 3d backend.
/home/woess/mambaforge/envs/mnedev/lib/python3.11/site-packages/sphinxcontrib/youtube/utils.py:9: RemovedInSphinx80Warning: The alias 'sphinx.util.status_iterator' is deprecated, use 'sphinx.util.display.status_iterator' instead. Check CHANGES for Sphinx API modifications.
from sphinx.util import logging, status_iterator
Traceback (most recent call last):
File "/home/woess/mambaforge/envs/mnedev/lib/python3.11/site-packages/sphinx/registry.py", line 447, in load_extension
mod = import_module(extname)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/woess/mambaforge/envs/mnedev/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/woess/workspace/git_projects/mne-python/doc/sphinxext/mne_substitutions.py", line 6, in <module>
from mne._fiff.pick import (
ModuleNotFoundError: No module named 'mne._fiff'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/woess/mambaforge/envs/mnedev/lib/python3.11/site-packages/sphinx/cmd/build.py", line 293, in build_main
app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/woess/mambaforge/envs/mnedev/lib/python3.11/site-packages/sphinx/application.py", line 233, in __init__
self.setup_extension(extension)
File "/home/woess/mambaforge/envs/mnedev/lib/python3.11/site-packages/sphinx/application.py", line 406, in setup_extension
self.registry.load_extension(self, extname)
File "/home/woess/mambaforge/envs/mnedev/lib/python3.11/site-packages/sphinx/registry.py", line 450, in load_extension
raise ExtensionError(__('Could not import extension %s') % extname,
sphinx.errors.ExtensionError: Could not import extension mne_substitutions (exception: No module named 'mne._fiff')
Extension error:
Could not import extension mne_substitutions (exception: No module named 'mne._fiff')
make: *** [Makefile:54: html-noplot] Error 2
I have already tried running make clean
and after I run make show
nothing is displays in the browser. I would greatly appreciate any help with this. Thank you so much!