ECMWFCode4Earth / ml_drought

Machine learning to better predict and understand drought. Moving github.com/ml-clim
https://ml-clim.github.io/drought-prediction/
89 stars 18 forks source link

Google colab jupyter notebook does not work #167

Open rpitonak opened 4 years ago

rpitonak commented 4 years ago

I have tried to use google colab notebook provided on the top of README.md.

Input:

from pathlib import Path
import os

from src import exporters

Output:

  File "/content/ml_drought/src/models/data.py", line 1
    from __future__ import annotations
                                      ^
SyntaxError: future feature annotations is not defined

It seems that there is a problem with versions of Python.

tommylees112 commented 4 years ago

Thanks so much Radoslav! I will get to this next week. Hope you're safe and well

rpitonak commented 4 years ago

Thank you!

If you need any help let me know. I was not able to figure out how to change python version inside the colab.

We may try to use other service like binder or deepnote.