-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build project #923
Comments
If you are indeed using Sphinx 1.8.5, it looks like your environment is not set up correctly. Sphinx reports version 1.6.7 in your output above, which maybe implies it's running sphinx from the system/etc path? The theme likely isn't installed in this same site path. |
I see! I entered root user and did Any issues with it being installed on root (like security or something), and would I be able to remove it from |
It sounds like you probably want to set up a virtualenv, I'd look for some guides on how to use virtualenv or pyenv to maintain the dependencies for your documentation. Generally, you shouldn't need to alter the system packages or run as root to build you documentation. Closing this as virtualenv setup is outside the scope of the theme. |
@Aericio Did you solve the issue? |
Yes. I don't remember exactly, but according to my message above, I just logged into root and the installation worked. I didn't bother setting up a virtualenv since it wasn't a big deal for me to enter into root, if you were wondering about that. |
Just want to add my solution. My solution is just to use the "post_create_environment" step to explicit install the missing package via pip.
|
Problem
I'm currently trying to build the project with the theme, but for some reason it says
No module named 'sphinx_rtd_theme'
. I've already installed the withpip install sphinx_rtx_theme
, then uninstall & reinstall, still same thing.Reproducible Project
conf.py
:requirements.txt:
Error Logs/Results
If I only changed
html_theme
, then this happens. I did dopip install sphinx_rtd_theme
and ranmake file
again, but still told me to install it manually.I searched around google and stumbled upon this: https://sphinx-rtd-theme.readthedocs.io/en/latest/installing.html , so then I added
import
andextensions
and this was the issue instead. Again tried to installsphinx_rtd_theme
but now this occurs.Expected Results
It should have built. Also, with the default install theme it built perfectly fine.
Environment Info
Also using Ubuntu 18.04 LTS on WSL.
The text was updated successfully, but these errors were encountered: