ml_drought icon indicating copy to clipboard operation
ml_drought copied to clipboard

Google colab jupyter notebook does not work

Open rpitonak opened this issue 4 years ago • 2 comments

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.

rpitonak avatar Jul 15 '20 17:07 rpitonak

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

tommylees112 avatar Jul 16 '20 11:07 tommylees112

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.

rpitonak avatar Jul 16 '20 12:07 rpitonak