简体   繁体   English

sphinx无法找到sphinx_rtd_theme

[英]sphinx not able to find sphinx_rtd_theme

I'm newbe of Sphinx, 我是狮身人面像的新手,

I tried to use html_theme = 'sphinx_rtd_theme' in conf.py 我试图在conf.py中使用html_theme ='sphinx_rtd_theme'

but I get message below when I run "make html" : 但是当我运行“ make html”时,我收到以下消息:

sphinx_rtd_theme is no longer a hard dependency since version 1.4.0. 从版本1.4.0开始,sphinx_rtd_theme不再是硬依赖性。 Please install it manually.(pip install sphinx_rtd_theme) 请手动安装。(pip install sphinx_rtd_theme)

I already installed it with pip install sphinx_rtd_them 我已经用pip install sphinx_rtd_them安装了它
(part of pip list) (点子清单的一部分)

Package Version 套餐版本


alabaster 0.7.11 雪花石膏0.7.11
sphinx-rtd-theme 0.4.1 狮身人面像-rtd-主题0.4.1
Sphinx 1.8.1 狮身人面像1.8.1

Also I installed sphinx-doc with brew. 我也用brew安装了sphinx-doc。

Anybody with same issue?? 有人遇到同样的问题吗?

Another things to know is...My ubuntu PC works perfectly, 要知道的另一件事是...我的ubuntu PC完美运行,
but not works on Macbook pro... 但不适用于Macbook pro ...

Ok...WTF...I have no idea how it works, But I ran 好吧... WTF ...我不知道它是如何工作的,但是我跑了

brew remove sphinx-doc brew删除sphinx-doc

and "make html" worked, 和“制作html”有效,

If anyone can answer why and how this happened, please let me know... 如果有人可以回答这种情况的原因和发生方式,请告诉我...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM