DatePickerRange Problem


I recently started using dash and I wanted to use the DatePickerRange from the dash core components for my app.
I started playing around with it, but when I copied and pasted the example code I got from and ran it, I got an AttributeError: ‘module’ object has no attribute ‘DatePickerRange’. Does anyone else have the same problem, or know how to fix it?


@elaine.wu - Which version of dash-core-components are you running? You can check with

import dash_core_components as dcc

The versions of the packages that are used in the documentation are outlined here:

And you can stay up-to-date with new additions of the library by looking at the file in the repos themselves:

I had version 0.6.0 for the core components, so that was why. I’ve upgraded it and it works now, thanks!

1 Like