ubuntu2020运行repo遇到:/usr/bin/env: ‘python’: No such file or directory
遇到的错误:首先查看python的位置whereispython在/usr/bin目录下有python3.8,说明有oython3.8的软链接,但是没有python2的软链接。repoiit需要python2,所以需要先现在python2,然后再为python2创建软链接sudoapt-getinstallpython2sudoln-s/usr/bin/python2/usr/bin/python