PlanetaryComputerExamples icon indicating copy to clipboard operation
PlanetaryComputerExamples copied to clipboard

module 'pystac_client' has no attribute 'ItemCollection'

Open Rudigithub12345 opened this issue 1 year ago • 1 comments
trafficstars

Hi

I run this example https://planetarycomputer.microsoft.com/docs/tutorials/cloudless-mosaic-sentinel2/ and i found following error:


AttributeError Traceback (most recent call last) Cell In[23], line 1 ----> 1 signed_items = pystac_client.ItemCollection([ 2 planetary_computer.sign_assets(item) for item in items 3 ]) 4 #print(signed_items) 5 data = ( 6 stackstac.stack( 7 items, (...) 13 .assign_coords(band=lambda x: x.common_name.rename("band")) # use common names 14 )

AttributeError: module 'pystac_client' has no attribute 'ItemCollection'

How to solve this problem?

Rudigithub12345 avatar Dec 23 '23 10:12 Rudigithub12345