- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
C:\Users\Administrator\Desktop\item\code_serv\documents\api>make html Running Sphinx v1.6.2 loading pickled environment... failed:
Can't get attribute 'WarningStream' on
<module 'sphinx.util.nodes' from 'c:\\users\\administrator\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\sphinx\\util\\nodes.py'>
主题错误:
sphinx_rtd_theme is no longer a hard dependency since
version 1.4.0
. Please install it manually.(pip install sphinx_rtd_theme
)
我该如何解决?
最佳答案
我发现了另一个问题,我安装了两个 sphinx,一个是通过 pip
安装的,另一个是通过 brew
安装的。删除一个(我选择删除通过 brew
完成的安装)解决了这个问题。
brew remove sphinx-doc
如果还是不行,请尝试卸载并重新安装
pip3 uninstall sphinx sphinx_rtd_theme
pip3 install sphinx sphinx_rtd_theme
关于python - sphinx_rtd_theme 从 1.4.0 版本开始不再是硬依赖,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44940890/
我正在尝试向在本地计算机上运行的 Sphinx 中的 sphinx_rtd_theme 添加额外的页脚。我创建了一个文件 footer.html 并将其存储在 source/_templates 中。
我目前正在使用 sphinx_rtd_theme 创建一个 Sphinx 文档。我想知道如何更改已访问链接的颜色。 到目前为止,我只发现了使用 classic 主题的可能性(使用 conf.py 文件
C:\Users\Administrator\Desktop\item\code_serv\documents\api>make html Running Sphinx v1.6.2 loading
我是一名优秀的程序员,十分优秀!