'In colab, working piece of code fails after 1-2 days and asks to update the libraries
46 from darts import TimeSeries
---> 47 from darts.models import ( 48 NaiveSeasonal, 49 NaiveDrift,
2 frames /usr/local/lib/python3.7/dist-packages/statsmodels/tsa/arima/model.py in () 5 License: BSD-3 6 """ ----> 7 from statsmodels.compat.pandas import Appender 8 9 import warnings
ImportError: cannot import name 'Appender' from 'statsmodels.compat.pandas' (/usr/local/lib/python3.7/dist-packages/statsmodels/compat/pandas.py)
When I relogged in after couple of days, darts.models worked absolutely without any changes to code but then matplotlib started giving error. I fixed matplotlib problem by uninstalling & installing a fixed version - !pip uninstall matplotlib !pip install matplotlib==3.1.3
Again after few days pd.read_excel started giving problem.
While this whole code once executed successfully... not sure why the version of package are changing. How to fix these issues? Please help
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
