microprediction / timemachines

Predict time-series with one line of code.
https://www.microprediction.com/blog/popular-timeseries-packages
MIT License
384 stars 50 forks source link

Dependency Conflicts during Installation #97

Closed muhammadtahasuhail closed 2 years ago

muhammadtahasuhail commented 2 years ago

Hi, I recently came across this repository and I really wanted to check out its results on some data as I have tried a lot of time series forecasting methods but most of them didn't seem to work well. I tried to set up timemachines on Google Colab but I run into dependency conflicts.

u8darts 0.16.0 requires scikit-learn>=1.0.1, but you have scikit-learn 0.24.2 which is incompatible.
u8darts 0.16.0 requires statsmodels>=0.13.0, but you have statsmodels 0.12.1 which is incompatible.
salesforce-merlion 1.1.1 requires numpy>=1.21; python_version >= "3.7", but you have numpy 1.19.5 which is incompatible.
salesforce-merlion 1.1.1 requires scipy>=1.6.0; python_version >= "3.7", but you have scipy 1.5.4 which is incompatible.
salesforce-merlion 1.1.1 requires statsmodels>=0.12.2, but you have statsmodels 0.12.1 which is incompatible.
greykite 0.3.0 requires pandas<1.3,>=1.1.3, but you have pandas 1.3.5 which is incompatible.
greykite 0.3.0 requires statsmodels>=0.12.2, but you have statsmodels 0.12.1 which is incompatible.
google-colab 1.0.0 requires ipython~=5.5.0, but you have ipython 7.31.1 which is incompatible.
google-colab 1.0.0 requires pandas~=1.1.0; python_version >= "3.0", but you have pandas 1.3.5 which is incompatible.
google-colab 1.0.0 requires requests~=2.23.0, but you have requests 2.27.1 which is incompatible.
fbprophet 0.7.1 requires cmdstanpy==0.9.5, but you have cmdstanpy 0.9.68 which is incompatible.
timemachines 0.15.0 requires numpy>=1.19.5, but you have numpy 1.19.3 which is incompatible.
datascience 0.10.6 requires folium==0.2.1, but you have folium 0.8.3 which is incompatible.
albumentations 0.1.12 requires imgaug<0.2.7,>=0.2.5, but you have imgaug 0.2.9 which is incompatible.

I was wondering if you guys had some sort of installation script where the versions of each dependency are written because I can't really seem to resolve these conflicts.

microprediction commented 2 years ago

Hi.

On colab, maybe try pip uninstall numpy -y and then proceed as with: https://github.com/microprediction/timemachines/blob/main/INSTALL.md

Unfortunately, some packages' requirements conflict with others in the timeseries space, so I usually proceed incrementally depending on which packages I want to use. Dep conflicts will show, but usually one can get away with it. Peter

microprediction commented 2 years ago

Okay to close this?

muhammadtahasuhail commented 2 years ago

Yeah, I was able make it function partially. Thanks.