/bin/sh: xxx.py: command not found

随笔记录一下,硬生生折腾两小时
/bin/sh: xxxpy: command not found
Unhandled exception in thread started by

没错就是文件权限问题
1.给文件个最大权限
2.是不是把python文件当作普通文件来读写啦,那么请在python文件前加./ ,让linux知道这是个可执行文件

哭惹

你可能感兴趣的:(/bin/sh: xxx.py: command not found)