Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I install the datepicker widget in ipywidgets?

It seems like I don't have the DatePicker widget which is pretty odd. I tried installing / unistalling ipywidgets but no luck.

Any idea how to install it?

import ipywidgets as ipyw
ipyw.DatePicker
# AttributeError: module 'ipywidgets' has no attribute 'DatePicker'
ipyw.__version__
# 5.2.2

running python3.5

like image 737
evan54 Avatar asked Oct 23 '25 02:10

evan54


1 Answers

I ended up needing to upgrade ipywidgets but to a specific package.

ie this didn't work:

pip install ipywidgets -U

but this worked:

pip install ipywidgets==6.0.0b6
like image 130
evan54 Avatar answered Oct 24 '25 18:10

evan54



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!