解决报错/usr/bin/env: ‘python’: No such file or directory
一.启动某个程序报错
/usr/bin/env: ‘python’: No such file or directory
二.解决方法
1.查看python3的版本
python3 --version
2.查找python3的安装位置:
whereis python3
3.为其创建符号连接:
sudo ln -s /usr/bin/python3 /usr/bin/python
4.尝试再次启动
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)