无法导入扩展Sphinx_panels

发布于 2025-01-25 23:39:33 字数 521 浏览 1 评论 0 原文

尝试使用 sphinx_panels 在rst(ComplactucturedText)中,我正在面临错误<错误< a href =“ https://i.sstatic.net/6tfxj.png” rel =“ nofollow noreferrer”>无法导入扩展sphinx_panels 。

我添加了 conf.py文件中的扩展名

“ https://sphinx-panels.readthedocs.io/en/latest/#installation” rel =“ nofollow noreferrer”> docs 仍然面临我什至尝试重新安装的 解决问题

While trying to use sphinx_panels in the rst (reStructuredText), I'm facing an error Could not import extension sphinx_panels.

I've added the extension in the conf.py file as mentioned in the docs still facing the issue

I even tried reinstalling but no help, can anyone tell me how to resolve the issue

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

何止钟意 2025-02-01 23:39:33

您的sphinx版本(2.0.1)太旧了,sphinxposttransform在2.1.0中引入。

changElog:

添加一个助手类sphinx.transforms.post_transforms.sphinxposttransform

Your sphinx version (2.0.1) is too old, SphinxPostTransform is introduced in 2.1.0.

Changelog: https://www.sphinx-doc.org/en/master/changes.html#release-2-1-0-released-jun-02-2019

Add a helper class sphinx.transforms.post_transforms.SphinxPostTransform

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文