Running pm.Simulator with implicit likelihood

I am running a case with implicit likelihood from LBKLD_estimator/aphid_main_12d.m at master · ziq-ao/LBKLD_estimator · GitHub
However, when I am running the code


I am receiving the following error

May I know what causes this problem? Thanks!

What version of PyMC are you using?

v4.0.0

Error messages referencing theano when using PyMC v4 suggest an installation issue (v4 no longer uses theano). How did you install everything? Did you follow the instructions found here?

I exactly followed the link you post during installation.

I tried on Colab and it doesn’t error out, although your aphid function seems to be a bit too slow: Google Colab

You must have an installation issue