sphinx-build --version
Traceback (most recent call last):
File "/usr/local/bin/sphinx-build", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.11/dist-packages/sphinx/__init__.py", line
51, in main
sys.exit(build_main(argv))
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/sphinx/__init__.py", line
61, in build_main
from sphinx import cmdline
File "/usr/local/lib/python3.11/dist-packages/sphinx/cmdline.py", line
23, in <module>
from sphinx.application import Sphinx
File "/usr/local/lib/python3.11/dist-packages/sphinx/application.py",
line 35, in <module>
from sphinx.domains import ObjType, BUILTIN_DOMAINS
File "/usr/local/lib/python3.11/dist-
packages/sphinx/domains/__init__.py", line 279, in <module>
from sphinx.domains.cpp import CPPDomain # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/sphinx/domains/cpp.py",
line 263, in <module>
_whitespace_re = re.compile(r'\s+(?u)')
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/__init__.py", line 227, in compile
return _compile(pattern, flags)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
p = _compiler.compile(pattern, flags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
p = _parser.parse(p, flags)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
itemsappend(_parse(source, state, verbose, nested + 1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
raise source.error('global flags not at the start '
re.error: global flags not at the start of the expression at position 3

Reply via email to