ModuleNotFoundError: No module named 'gi'

My solution was to reinstall anaconda, as I could not find any Arch specific solutions online to do this.