evan54
evan54

Reputation: 3743

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

Upvotes: 4

Views: 2924

Answers (1)

evan54
evan54

Reputation: 3743

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

Upvotes: 6

Related Questions