The error message indicates that there is a compatibility issue between HoloViews and Pandas. The specific issue is with the pandas_datetime_types
import, which is not defined in HoloViews version 1.14.4.
To resolve this issue, you have two options:
- Upgrade HoloViews to version 1.14.5: This should fix the compatibility issue and allow you to use Pandas version 1.3.0 without any problems.
- Downgrade Pandas to version 1.2.5: However, this is not recommended as it may introduce other issues or break other parts of your code.
Alternatively, if you’re using a recent version of HoloViews (>= 1.14.5) and a compatible version of Pandas (>= 1.3.0), the issue should be fixed in the latest releases. In this case, you can try updating to the latest versions of both libraries to see if the issue is resolved.
Here’s an example of how you could upgrade HoloViews using pip:
pip install --upgrade holoviews
And here’s an example of how you could downgrade Pandas using pip:
pip install pandas==1.2.5
Note that downgrading may not be the best solution, as it may introduce other issues or break other parts of your code.
It’s always a good idea to check the official documentation and release notes for both libraries to ensure you’re using the latest versions and any known workarounds or fixes.
Last modified on 2023-06-18