解决报错/usr/bin/env: ‘python’: No s
2023-08-26 本文已影响0人
为自己代颜_
解决报错/usr/bin/env: ‘python’: No such file or directory
一.启动某个程序报错
/usr/bin/env: ‘python’: No such file or directory
1
二.解决方法
1.查看python3的版本
python3 --version
1
2.查找python3的安装位置:
whereis python3
1
3.为其创建符号连接:
sudo ln -s /usr/bin/python3 /usr/bin/python
1
4.尝试再次启动