欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

permission denied

程序员文章站 2022-06-01 10:30:16
...

/usr/bin/python: bad interpreter: Permission denied error

sudo  chmod +x
sudo chmod 777

http://tieba.baidu.com/p/3243747582L

sudo apt-get install –reinstall python3.5

在更新python的时候需要建立新的连接文件
sudo ln -s /usr/bin/python3.4 /usr/bin/python.

最终解决方法:

sudo rm -rf /usr/bin/python
sudo ln -s /usr/bin/python2.6 /usr/bin/python

https://www.jianshu.com/p/dcf2c9dd61b7