Fatal Python error: Segmentation fault for MACOS 15.6.1 for correct python code
I've run python 3.10.18 via sqlalchemy 1.4.39 create connection to MS SQL DB on macos 15.6.1 and got the error:
Fatal Python error: Segmentation fault for MACOS 15.6.1
Extension modules: charset_normalizer.md, google._upb._message, snappy._snappy, lz4._version, lz4.frame._frame, lxml._elementpath, lxml.etree, yaml._yaml, grpc._cython.cygrpc, sqlalchemy.cimmutabledict, sqlalchemy.cprocessors, sqlalchemy.cresultproxy, pyodbc (total: 13)
tried this question without success
there were no such a problem 3 days before. Tried to clear cache and reinstall python versions without any success.
How to fix this?
MacBook Pro 14″, macOS 15.6