gee-community / geetools

A collection of tools to work with Google Earth Engine Python API
https://geetools.readthedocs.io/en/stable/
MIT License
503 stars 121 forks source link

No module named 'geetools.ui' when importing from ipygee on google colab #238

Open ditirodt opened 4 months ago

ditirodt commented 4 months ago

I am trying to import all from ipygee on google colab and No module named 'geetools.ui' error

How I import: from ipygee import *

Please assist on this, here is the link to the colab

12rambau commented 4 months ago

The ipygee lib has not be published yet. So the one you are trying to call is still wired to the v0.x version of geetools. what component are you expecting to use from the old ipygee ?

ditirodt commented 4 months ago

I am trying to use line chart, here is the code, just trying to plot selected_roi_ndvi = chart.Image.series(**{'imageCollection': scaled_ndvi, 'region': roi, 'reducer': ee.Reducer.mean(), 'scale': 1000, 'xProperty': 'system:time_start'}) selected_roi_ndvi.renderWidget(width='50%')

12rambau commented 4 months ago

ok then you need to downgrade the geetools version to <1 as we are not supporting this ipygee interface anymore.