Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KeyError: 'LULC'
#11
what threw me off is that you pasted (#7) the error in python tags. I edited your post and changed to error tags.

the place where the actual error occurs is:
Error:
File "/home/UbuntuUser/.local/lib/python3.8/site-packages/skimage/data/__init__.py", line 127, in create_image_fetcher image_fetcher = pooch.create( TypeError: create() got an unexpected keyword argument 'urls'
The error is lower in a chain of called packages so deep that the original culprit is not shown in the error traceback.
please note the warning in error traceback:

Error:
report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
The chain of embedded calls that can be identified are:
  • Create_Unet_Features.py
    • report.py # (deprecation warning here)
      • eolearn/mask # calls eolearn/mask/cloud_mask.py
        • eolearn/mask/cloud_mask.py # calls skimage.morphology import disk (line 20)
          • skimage/__init__.py", line 133 # calls data
            • image_fetcher, data_dir = create_image_fetcher() (line 127) where error finally occurs
hobbyist likes this post
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020