Streamlit hello gives Segmentation fault: 11 on Macbook Air mac os big sur

Streamlit, version 1.35.0
Python 3.12.3

Installed in the .venv and tried with Streamlit hello

Could you please assist urgently

Same error on two different machines : one intel based with Python 3.12 venv and one M1 with Python 3.8.9 + venv