You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot import sphinxcontrib.openapi because of docutils.core. Can you please tell me which versions of sphinx, sphinxcontrib.openapi, and docutils I should use?
Here is the error:
Running Sphinx v5.2.3
Extension error:
Could not import extension sphinxcontrib.openapi (exception: cannot import name 'ErrorString' from 'docutils.core' (c:\users\msa75\documents\repos\batterysimm-val-api\api-dev-guide\.venv\lib\site-packages\docutils\core.py))
The combination Sphinx==5.2.3(latest), docutils==0.18.1 and sphinxcontrib-openapi==0.7.0 worked for me. I had to pin the docutils<0.19 due to sphinxcontrib-openapi. For further details, please have a look at the PR.
I cannot import
sphinxcontrib.openapi
because ofdocutils.core
. Can you please tell me which versions ofsphinx
,sphinxcontrib.openapi
, anddocutils
I should use?Here is the error:
here are the packages I have in the environment:
The text was updated successfully, but these errors were encountered: