Skip to content

[Notebook Issue] Unable to import CloudMaskRequest in cloud_detector_part1_cloudless_sentinel_and_unsupervised notebook #2333

@neha-sharma-geoai

Description

@neha-sharma-geoai

Describe the bug
Library import error in notebook - notebook

To Reproduce
Steps to reproduce the behavior:

!pip install sentinelhub --upgrade

!pip install s2cloudless

from s2cloudless import S2PixelCloudDetector, CloudMaskRequest, get_s2_evalscript

error:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[4], line 1
----> 1 from s2cloudless import S2PixelCloudDetector, CloudMaskRequest, get_s2_evalscript

ImportError: cannot import name 'CloudMaskRequest' from 's2cloudless' ([C:\Users\Neh13173\AppData\Local\ESRI\conda\envs\dl\Lib\site-packages\s2cloudless\__init__.py](file:///C:/Users/Neh13173/AppData/Local/ESRI/conda/envs/dl/Lib/site-packages/s2cloudless/__init__.py))

Screenshots

Image

Expected behavior
Import should work in Jupyter Notebook.

Platform (please complete the following information):

  • OS: Windows
  • Browser [e.g. chrome, safari]: Chrome
  • Python API Version: 2.4.2

Additional context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy