Hi,
I am working on a project to detect plastics using Sentinel-2.
I am trying to follow theA pipeline for detecting macro-plastics in coastal waters using Sentinel 2 data
python download_features.py --features data/features.csv
I get an error when I run.
I get the following Error:
Traceback (most recent call last):
File “”, line 1, in
File “c:\users\username\anaconda3\lib\multiprocessing\spawn.py”, line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File “c:\users\username\anaconda3\lib\multiprocessing\spawn.py”, line 125, in _main
prepare(preparation_data)
File “c:\users\username\anaconda3\lib\multiprocessing\spawn.py”, line 236, in prepare
_fixup_main_from_path(datan‘init_main_from_path’])
File “c:\users\username\anaconda3\lib\multiprocessing\spawn.py”, line 287, in _fixup_main_from_path
main_content = runpy.run_path(main_path,
File “c:\users\username\anaconda3\lib\runpy.py”, line 265, in run_path
return _run_module_code(code, init_globals, run_name,
File “c:\users\username\anaconda3\lib\runpy.py”, line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File “c:\users\username\anaconda3\lib\runpy.py”, line 87, in run_code
exec(code, run_globals)
File “C:\Users\username\desktop\download_features.py”, line 21, in
from plasticfinder.tasks.combined_masks import CombineMask
File "C:\Users\username\desktop\plasticfinder\tasks_init.py", line 6, in
module = loader.find_module(module_name).load_module(module_name)
File “C:\Users\username\desktop\plasticfinder\tasks\cloud_classifier.py”, line 1, in
from eolearn.mask import get_s2_pixel_cloud_detector , AddCloudMaskTask
ImportError: cannot import name ‘get_s2_pixel_cloud_detector’ from ‘eolearn.mask’ (C:\Users\username.virtualenvs\username-SQMDgPYL\lib\site-packages\eolearn\mask_init.py)
What could be the reason for this problem?
Could you help me?