C4W3 Graded lab TFX on Google Cloud Vertex Pipelines Dependency Errors

When installing the packages in the notebook the following dependencies were not satisfied:

ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
explainable-ai-sdk 1.3.2 requires xai-image-widget, which is not installed.
cloud-tpu-client 0.10 requires google-api-python-client==1.8.0, but you have google-api-python-client 1.12.11 which is incompatible.
numba 0.54.1 requires numpy<1.21,>=1.17, but you have numpy 1.21.6 which is incompatible.
pandas-profiling 3.0.0 requires tangled-up-in-unicode==0.1.0, but you have tangled-up-in-unicode 0.2.0 which is incompatible.
tensorflow-io 0.21.0 requires tensorflow<2.7.0,>=2.6.0, but you have tensorflow 2.10.1 which is incompatible.
tensorflow-io 0.21.0 requires tensorflow-io-gcs-filesystem==0.21.0, but you have tensorflow-io-gcs-filesystem 0.23.1 which is incompatible.

And the assignmen’t couldn’t be finished.

Running the following installations and restarting the kernel solved that issue:

!pip install tangled-up-in-unicode==0.1.0
!pip install numpy==1.20
!pip install google-api-python-client==1.8.0
!pip install xai-image-widget

This was the solution