awesome-spectral-indices / spyndex

Awesome Spectral Indices in Python.
https://spyndex.readthedocs.io/
MIT License
191 stars 22 forks source link

Can't load the package in google colab #11

Closed seuriously closed 2 years ago

seuriously commented 2 years ago

Hi, thank you for developing the package. I tried to use it in fresh google colab session but it keeps giving me dask error.

The installation is successful but loading the package gives me this error: image

thank you..

davemlz commented 2 years ago

Hi, @seuriously!

I'm aware of this. Colab is having some trouble with the way it is loading python packages. In your local machine it should work, but to make it work in Colab, please install pyyaml==5.4.1:

!pip install spyndex pyyaml==5.4.1

import spyndex

Let me know if it works!

Best,

Dave

seuriously commented 2 years ago

yes.. it can load now.. thank you for your quick solution!!