# Using ABC with pm.Simulator

**URL:** <https://discourse.pymc.io/t/using-abc-with-pm-simulator/10845>\
**Category:** v3\
**Created:** [November 17, 2022, 7:12pm UTC](https://discourse.pymc.io/t/using-abc-with-pm-simulator/10845 "2022-11-17T19:12:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jiayuand](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@jiayuand](https://discourse.pymc.io/u/jiayuand)\
**Post date:** [November 17, 2022, 7:12pm UTC](https://discourse.pymc.io/t/using-abc-with-pm-simulator/10845/1 "2022-11-17T19:12:13Z")

</div>

I have tried implementing the OED example shown in [Sequential Monte Carlo - Approximate Bayesian Computation — PyMC3 3.11.5 documentation](https://docs.pymc.io/en/v3/pymc-examples/examples/samplers/SMC-ABC_Lotka-Volterra_example.html)  
there is no problem running the original code, but when I turned to ‘pymc’ instead of ‘pymc3’, the following error appears:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pymc3/original/2X/b/b6d39f72b4c849dde4e0dd218f4bd0c2c81b00ba.jpeg)  
May I know what I can do to solve this? Thanks a lot!

---

<div class="post-metadata">

**Author:** ![cluhmann](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/cluhmann/32/3083_2.png) [@cluhmann](https://discourse.pymc.io/u/cluhmann)\
**Post date:** [November 17, 2022, 7:28pm UTC](https://discourse.pymc.io/t/using-abc-with-pm-simulator/10845/2 "2022-11-17T19:28:36Z")

</div>

The new version of that page is [here](https://www.pymc.io/projects/examples/en/latest/samplers/SMC-ABC_Lotka-Volterra_example.html).
