How to use sphinx extensions? #290
|
I tried to test the example in section Custom Sphinx extensions in the guide book. While using the extension but when building the book, it threw an error: Extension error:
Could not import extension sphinx-inline-tabs (exception: No module named 'sphinx-inline-tabs')
Traceback (most recent call last):
File "/home/gqw-wsl/anaconda3/lib/python3.8/site-packages/sphinx/registry.py", line 409, in load_extension
mod = import_module(extname)
File "/home/gqw-wsl/anaconda3/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'sphinx-inline-tabs'but use the command I am not sure if I missed some necessary steps, and no similar problems were found in the issues. |
Answered by
chrisjsewell
Mar 22, 2021
Replies: 1 comment 2 replies
|
Heya, yes you still have to install the package into your python environment |
2 replies
Answer selected by
choldgraf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Heya, yes you still have to install the package into your python environment