ModuleNotFoundError: No module named 'gitdb.utils.compat'

This does not solve the issue because while requirements.txt contains gitpython, it does not contain gitdb which is the real culprit. This will solve the issue:

 pip install --upgrade gitdb2==2.0.6 gitdb==0.6.4
2 Likes