1.error:import: command not found
在运行的python文件第一行加上:
#!/usr/bin/python
2.bad interpreter: No such file or directory
检查python是否存在、版本
type -a python
ls -l /usr/bin/python
which python
3.unrecognized arguments
通常是路径错误或者语法错误,--不能输成-
4.no module named xxx
环境选择错误
screen -S name 创建“name”环境
screen -r name 回到“name”环境