当我以普通用户身份检查 Python 版本时,它显示的是 Python 2:
$ python --version Python 2.7.15rc1
当尝试以 root 运行时:
# python --version Python 3.6.7
任何关于如何删除这个 Python 2.7 的建议
python-2.7 software-uninstall 18.04
18.04 ×1
python-2.7 ×1
software-uninstall ×1