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 - 须小弥 - 博客园 

上一篇:用homebrew下载cmake时出现Error: No such file or directory - /usr/local/var/homebrew/linked/cmake错误解决办法


下一篇:ubuntu16.4安装mongodb报错 libcurl.so.4: cannot open shared object file: No such file or directory