Environment
My OS environment: macOS Mojave Version 10.14.6
I am not using Conda, and trying to avoid using Homebrew.
Procedure
If OpenSmile 3.0 is successfully installed, you will see “sphinx” made under the “doc” folder. Before installing what is listed in “requirements.txt,” you might need to install “sphinx.” I first tried "sphinx_build" command, but it did not work. I thought there was something wrong with Sphinx configuration. So, after activating a virtual environment, I installed and configured “sphinx.” Below is a description of the whole processes that I took:
- Activate your virtual environment
- Install “sphinx” using pip install sphinx
- Check whether it works with the following command: sphinx-build --help
- Go to the “sphinx” folder
- Install what is list in “requirements.txt”: pip install -r requirements.txt
IMPORTANT: You would need to change “sphinxcontrib-bibtext” to “sphinxcontrib.bibtext” before running this code. I had an error about this and then realized that that was because of this difference.
- Neither make clean nor make html did work for me; only make clean worked. So, I used the followings:
- sphinx-build -b html -d ./_build/doctrees . ./_build/html/
- sphinx-build -b latex -d ./_build/doctrees . ./_build/latex/
No comments:
Post a Comment