In general, this sort of error implies that the installed artifact's platform does not match that of the execution environment. I would check with the maintainers of the environment about this if the environment is supposed to handle the installation. On Monday, November 14, 2022 at 1:37:57 AM UTC-8 Wong Kin Sun wrote:
> Hi, I am following this tutorial on model deployment ( > https://codelabs.developers.google.com/vertex-image-deploy#6), but I ran > into a issue when importing the aiplatform library which imports the grpc > library. > > When running "from google.cloud import aiplatform", I get the following > error message: > > ImportError: cannot import name 'shutdown_grpc_aio' from > 'grpc._cython.cygrpc' (/opt/conda/lib/python3.7/site-packages/grpc/_cython/ > cygrpc.cpython-37m-x86_64-linux-gnu.so) > > The entire error message can be found in the attached picture. > > The versions of the libraries used are as shown: > > google-api-core 2.10.1 > google-api-python-client 2.55.0 > google-cloud-aiplatform 1.17.0 > grpcio 1.33.1 > grpcio-gcp 0.2.2 > grpcio-status 1.47.0 > > I would like to ask why the import error is occurring and how it can be > resolved. > > Thank you. > > [image: grpc_error_message.JPG] > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/0c5ce19a-6fae-4919-ab7c-3ec7efa3260bn%40googlegroups.com.