In Python, a SyntaxError happens when the interpreter finds code that does not conform to the rules of the Python language.
and delete current Python and "venv" folder in WebUI's directory. Python 3.12.11 (main, Jun 4 2025, 08:56:18) [GCC 11.4.0] Version: f2.0.1v1.10.1-previous-669 ...