C3_W4_LAb2_TFX Library Import Error

error while running input

import tensorflow_model_analysis as tfma
FileNotFoundError: [Errno 2] No such file or directory: ‘/usr/local/lib/python3.7/dist-packages/google_api_core-1.26.3.dist-info/METADATA’

i have installed it.
!pip install -U pip

!pip install -U tfx==1.3

These are downgraded to work with the packages used by TFX 1.3

Please do not delete because it will cause import errors in the next cell

!pip install --upgrade tensorflow-estimator==2.6.0

!pip install --upgrade keras==2.6.0
I am getting same kind of error for almost every lab in this course

Hi @ketul_padariya ,

Thanks for your question. Just checked the Colab and the TFMA import worked fine.
Did you restart runtime (Runtime > Restart Runtime) before running the import cell?
Hope that helps.

Kind regards,
Maarten