For all people claiming that the methods presented here work for you:
Could confirm that you can run this without problem?
python $(python -c "import pathlib, pytensor; print(pathlib.Path(pytensor.__file__).parent / 'misc/check_blas.py')")
I can import pytensor and run simple models (I use bambi) but on more complex it crashes and it don’t pass this check