Hello,
I’m new to EOlearn. I want to import the neccessary packages in order to work with EOlearn but I get import error:
from eolearn.core import EOTask, EOPatch, LinearWorkflow, FeatureType
# # We'll use Sentinel-2 imagery (Level-1C) provided through Sentinel Hub
# # If you don't know what `Level 1C` means, don't worry. It doesn't matter.
from eolearn.io import SentinelHubInputTask
from eolearn.mask import AddValidDataMaskTask
ImportError Traceback (most recent call last)
in
6 from eolearn.io import SentinelHubInputTask
7
----> 8 from eolearn.mask import AddValidDataMaskTask
9
10 # # filtering of scenes
/opt/conda/lib/python3.8/site-packages/eolearn/mask/init.py in
3 “”"
4
----> 5 from .cloud_mask import AddMultiCloudMaskTask, CloudMaskTask
6 from .masking import AddValidDataMaskTask, MaskFeatureTask, MaskFeature
7 from .snow_mask import SnowMask, TheiaSnowMask, SnowMaskTask, TheiaSnowMaskTask
/opt/conda/lib/python3.8/site-packages/eolearn/mask/cloud_mask.py in
15 import warnings
16
—> 17 import cv2
18 import numpy as np
19 from lightgbm import Booster
/opt/conda/lib/python3.8/site-packages/cv2/init.py in
3 import sys
4
----> 5 from .cv2 import *
6 from .data import *
7
ImportError: libGL.so.1: cannot open shared object file: No such file or directory’
I do have the library cv2 installed, so I don’t know why it raise this error. What else could cause this error?