zeus has no attribute 'EnsembleSampler'
savinbeniwal opened this issue · 10 comments
I am trying to reproduce manual working example. But it gives me the following error:
AttributeError: module 'zeus' has no attribute 'EnsembleSampler'
But it works with emcee though!
Could you show me some code snippet?
I am also facing the same issue while reproducing the "fitting a model to data" part given in the docs.
Which version is printed when you run print(zeus.__version__)
?
2.3.0
That's strange, did you get any errors during the installation?
Maybe it's worth repeating the installation in a new conda environment:
conda create --name zeus-env python=3
conda activate zeus-env
pip install zeus-mcmc
Could you run your code in a colab environment just to rule out that there're any typos in the code?
You can find a simple example which you can run online here https://colab.research.google.com/drive/1qvHwftc5yL8usoJ8NYbFxvNWG2OL6pkB?usp=sharing
I tried to run the default code of zeus " fitting a model to data".
zeus and all of its requirements are compatible with Python 3.6.9 (I just tested it).
Did you try re-installing zeus in a new Conda environment like I mentioned in the previous comment?
Hi Minaskar
After re-installing zesus in Jupyter-Notebook via below code, now it working perfectly!
!conda create --name zeus-env python=3 --y
!conda activate zeus-env --y
!pip install zeus-mcmc
Thanks!
I'm glad that was resolved!