I was wondering where that error comes from. The package has to be installed additionally to google.cloud
Not that straightforward, just do pip install google-cloud-aiplatform
ImportError: cannot import name 'aiplatform' from 'google.cloud' (unknown location)