Format error: extra keys not allowed @ data[u'outs'][0][u'size']

I’m trying to integrate dvc with my project for easy pull/push of AI/ML models, while the dvc works fine on my Windows, When I placed the code on an ubuntu machine and after setting up the cloud credentials and adding the remote storage. I tried dvc status command it started giving the following error. I’m not able to interact with dvc at all.

format error: extra keys not allowed @ data[u’outs’][0][u’size’]

Does anybody knows the solution for the same?

Looks like the issue is using Python 2.7 which we don’t support. We had a similar discussion in Discord (perhaps from the OP themself):