#!/usr/bin/env python
在ubuntu会变成
而 会被shell 当成参数
所以出现: /usr/bin/env: ‘python ’: No such file or directory
解决方法:
vi 此文件
输入:set ff=unix
再输入:wq 保存
运行成功。