Hi, I am new to stan and I am using a Mac OS Catalina 10.15.5 and Spyder 3.3.6 and python 3.7.0.
I have found that whenever I have a bug in my model_code, my Spyder kernel will restart without showing any info. This has been a nightmare to debug.
It actually worked on a linux server for me, I think it might be related to my gcc setup? So here is my gcc info:
$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.3 (clang-122.214.171.124)
Thread model: posix
Before I run the code pystan.StanModel(model_code=...) ![1|351x500](upload://hNhG7wEB7ccwMlPWfCpK1NJwS6F.png)
And after I run the code pystan.StanModel(model_code=…) and I know it contains some error, I have my kernel all cleaned up