Use the pip
command to install the following packages:
pip install sphinx
pip install sphinx-book-theme
pip install myst-parser
pip install myst-nb
pip install sphinx-copybutton
pip install sphinx-togglebutton
Alternatively, you can use a requirements.txt file:
# For older Python versions
pip install -r requirements.txt
# For Python 3.12
pip install -r requirements_py3.12.txt