ubuntu 执行Python脚本出现: /usr/bin/env: ‘python\r’: No such file or directory 缘由:

缘由: #!/usr/bin/env python  html 在ubuntu会变成python #!/usr/bin/env python\r  shell 而\r 会被shell 当成参数ubuntu 因此出现:  /usr/bin/env: ‘python\r’: No such file or directorypost 解决方法:unix vi 此文件htm 输入:set  ff=uni
相关文章
相关标签/搜索