How do I fix “StrictVersion instance has no attribute 'version'” in git review
问题 I get: Traceback (most recent call last): File "/usr/local/bin/git-review", line 863, in <module> main() File "/usr/local/bin/git-review", line 796, in main needs_update = latest_is_newer() File "/usr/local/bin/git-review", line 147, in latest_is_newer if latest_version > StrictVersion(version): File "/usr/lib/python2.7/distutils/version.py", line 140, in __cmp__ compare = cmp(self.version, other.version) AttributeError: StrictVersion instance has no attribute 'version' How do I fix git