1、遇到这种情况,往往是因为无法找到python,要么就是没有安装python。
1.1 无法找到python;
whereis python3
1.2 没有安装python;
sudo apt-get install python3
2、链接python到python3
sudo ln -s /usr/bin/python3 /usr/bin/python
1、遇到这种情况,往往是因为无法找到python,要么就是没有安装python。
1.1 无法找到python;
whereis python3
1.2 没有安装python;
sudo apt-get install python3
2、链接python到python3
sudo ln -s /usr/bin/python3 /usr/bin/python