PlanetaryComputerExamples
PlanetaryComputerExamples copied to clipboard
module 'pystac_client' has no attribute 'ItemCollection'
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?