firmai / atspy

AtsPy: Automated Time Series Models in Python (by @firmai)
https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3580631
512 stars 89 forks source link

Unable to run the Colab Example in Playground #17

Open ghost opened 4 years ago

ghost commented 4 years ago

The example in Colab shows as error:

uccessfully built atspy fbprophet tflearn ujson gast locket ERROR: umap-learn 0.4.3 has requirement numba!=0.47,>=0.46, but you'll have numba 0.47.0 which is incompatible. ERROR: torchvision 0.6.0+cu101 has requirement torch==1.5.0, but you'll have torch 1.4.0 which is incompatible. ERROR: tensorflow-probability 0.10.0 has requirement gast>=0.3.2, but you'll have gast 0.2.2 which is incompatible. ERROR: spacy 2.2.4 has requirement tqdm<5.0.0,>=4.38.0, but you'll have tqdm 4.28.1 which is incompatible. ERROR: google-colab 1.0.0 has requirement pandas~=1.0.0; python_version >= "3.0", but you'll have pandas 0.25.3 which is incompatible. ERROR: google-auth 1.7.2 has requirement cachetools<3.2,>=2.0.0, but you'll have cachetools 4.0.0 which is incompatible. ERROR: datascience 0.10.6 has requirement folium==0.2.1, but you'll have folium 0.8.3 which is incompatible. ERROR: albumentations 0.1.12 has requirement imgaug<0.2.7,>=0.2.5, but you'll have imgaug 0.2.9 which is incompatible. ERROR: mxnet-cu100 1.4.1 has requirement numpy<1.15.0,>=1.8.2, but you'll have numpy 1.17.4 which is incompatible. ERROR: nbeats-pytorch 1.3.0 has requirement numpy==1.16.2, but you'll have numpy 1.17.4 which is incompatible. Installing collected packages: cachetools, Cython, zope.interface, DateTime, decorator, numpy, python-dateutil, pandas, matplotlib, lunardate, fbprophet, pydantic, ujson, tqdm, gluonts, gunicorn, Keras, graphviz, mxnet-cu100, numba, pip-tools, scikit-learn, pmdarima, seaborn, tbats, gast, tensorflow-estimator, tensorboard, tensorflow, tflearn, torch, tsfresh, seasonal, nbeats-pytorch, atspy, locket, partd Found existing installation: cachetools 3.1.1 Uninstalling cachetools-3.1.1:

rahul4tripathi2 commented 4 years ago

Solution

  1. Open new google colab jupyter notebook
  2. Change runtime https://www.tutorialspoint.com/google_colab/google_colab_using_free_gpu.htm
  3. run !pip install atspy in code cell
  4. run !pip install pigar in next code cell once 3 step complete.
  5. Starting running given notebook https://colab.research.google.com/drive/14QVrnVtT434s-xYcalHFlQg-o658nekv#scrollTo=l4xmBGfOm8W8