System: Windows 11
Python Version: tried 3.11.8 and 3.13.3
Corporate notebook with corporate proxy requirements but our own uvicorn applications always worked locally.
I followed the instructions of the quickstart with UI here: https://sqlmesh.readthedocs.io/en/stable/quickstart/ui/
What I did:
- create a fresh venv and activate it
pip install sqlmesh[web]
sqlmesh init duckdb
sqlmesh ui
- navigate to
http://127.0.0.1:8000
With Python 3.13
The UI is loading and I can see the whole page. But then, network errors are reported. On the terminal I can see that uvicorn stops and the application terminates. There is no error message, I only see INFO level logging logging HTTP 200 access to some resources. The last is /api/models. I figure something goes wrong there and the server crashes but I don't get any error messages.

after that, I get back to my prompt, the application is terminated.
With Python 3.11
The UI is not crashing and the complete UI page is loading. But I got the error
Failed to load a cache entry 'models__full_model': No module named 'pathlib._local'; 'pathlib' is not a package in the terminal.
So I just installed pathlib and actually got rid of the message.
But when I try to open any file in the UI, the editor window just shows "File not found". After 30 seconds I also receive UI errors about timeouts:
But the application does not terminate and I get no errors on the terminal.
Is there a specific Python version that I should use? Or something else I could try to make the UI run properly?
System: Windows 11
Python Version: tried 3.11.8 and 3.13.3
Corporate notebook with corporate proxy requirements but our own uvicorn applications always worked locally.
I followed the instructions of the quickstart with UI here: https://sqlmesh.readthedocs.io/en/stable/quickstart/ui/
What I did:
pip install sqlmesh[web]sqlmesh init duckdbsqlmesh uihttp://127.0.0.1:8000With Python 3.13
The UI is loading and I can see the whole page. But then, network errors are reported. On the terminal I can see that uvicorn stops and the application terminates. There is no error message, I only see INFO level logging logging HTTP 200 access to some resources. The last is
/api/models. I figure something goes wrong there and the server crashes but I don't get any error messages.With Python 3.11
The UI is not crashing and the complete UI page is loading. But I got the error
Failed to load a cache entry 'models__full_model': No module named 'pathlib._local'; 'pathlib' is not a packagein the terminal.So I just installed
pathliband actually got rid of the message.But when I try to open any file in the UI, the editor window just shows "File not found". After 30 seconds I also receive UI errors about timeouts:
But the application does not terminate and I get no errors on the terminal.
Is there a specific Python version that I should use? Or something else I could try to make the UI run properly?