aloctavodia / BAP3

Figures and code examples from Bayesian Analysis with Python (third edition)
http://bap.com.ar/
112 stars 29 forks source link

preliz: name 'FloatSlider' #6

Closed riversandrew36 closed 4 months ago

riversandrew36 commented 4 months ago

Screenshot 2024-02-26 at 5 42 54 PM

Using VSCode I'm getting this error but while using colab notebooks everything seems fine. I'm on a Mac computer Any help would be appreciated.

aloctavodia commented 4 months ago

Which version of preliz are you using?

riversandrew36 commented 4 months ago

preliz==0.3.6

aloctavodia commented 4 months ago

You need to install ipywidgets. This is installed if you use the bap3.yml environment. But I now realize this will not be installed by default if you follow the pip install instructions. See https://preliz.readthedocs.io/en/latest/#installation.