Ubuntu20.04安装python-git/GitPython
问题
升级Ubuntu 20.04运行Python2脚本提示no module named git
尝试使用18.04的方法apt install python-git
无法安装
添加bionic apt source也无法安装
解决
安装pip2
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
python2 get-pip.py
手动安装GitPython
pip2 install GitPython
问题解决