While exploring “https://github.com/azupanc/eo-ex/blob/master/notebooks/water-level-monitor/theewaterskloof_dam_water_level.ipynb” I am stuck at line
“from sentinelhub.common import BBox, CRS”.The error is :-No module named ‘sentinelhub.common’.
What could be the reason for this problem?
In the newest version of
common was renamed to
geometry. That is why you are getting an error.
Please change that line into
from sentinelhub import BBox, CRS
Okay got it.It solved my problem.Thank You.
this example is no longer maintained. Please take a look at sentinel-hub/water-observatory-backend instead for a working and up-to-date example.
PS: I updated the example’s README with this note.
Okay thank you for this reference.
I was trying the
There are invalid syntax error in some scripts that are present in src.
What Python version are you using? Is this due to f-strings that are available from Python 3.6?
I am using python version 3.5
If you don’t wish to upgrade your python installation to 3.6, then the solution is to replace the f-strings like