Tensorflow Error - TypeError: bases must be types





It worked just fine for me. Tensorflow and protobuf versions are incompatible in my case.

pip uninstall protobuf
pip install protobuf==3.20.1
Source: https://stackoverflow.com/questions/72779449/google-visions-python-client-quickstart-throws-typeerror-bases-must-be-types