如果你在执行python相关的程序时,出现如下的错误
.....
python2.5/subprocess.py",
line 1079, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

那你就一定得检查用subprocess执行的命令是否存在或是否在你的$PATH路径下,如果不在,请一定要加上,不然会一直报这样的错误。

小问题折腾人!!!

相关文章:

  • 2021-08-20
  • 2021-12-30
  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-26
  • 2022-12-23
  • 2022-01-15
相关资源
相似解决方案