bash: /usr/bin/python3: No such file or directory

bash: /usr/bin/python3: No such file or directory

原因为/usr/bin/下无python3或软连接,用ln -s /usr/local/python3.9.7/bin/python3 /usr/bin/python3即可

参考:

Centos7 下 Python 3.9.0 的编译安装流程_新手期的挣扎小人物的博客-CSDN博客 

https://www.python.org/ftp/python/3.9.7/

Centos 7安装python3 - 须小弥 - 博客园 

奶奶问孙子:4+1等于几 孙子说:等于6-1。 奶奶说:你明明知道答案,为什么不说? 孙子说:年轻人不讲5的……..
原文地址:https://www.cnblogs.com/jasy/p/15217097.html