/usr/lib/python2.7/subprocess.py", line 1239, in _execute_child

Posted 人,唯一剥夺不了的,只有知识

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了/usr/lib/python2.7/subprocess.py", line 1239, in _execute_child相关的知识,希望对你有一定的参考价值。

Traceback (most recent call last):
File "/home/eping/bin/repo", line 685, in 
main(sys.argv[1:])
File "/home/eping/bin/repo", line 652, in main
_Init(args)
File "/home/eping/bin/repo", line 184, in _Init
_CheckGitVersion()
File "/home/eping/bin/repo", line 209, in _CheckGitVersion
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1239, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

解决:sudo apt-get install git git-core

 

我的问题 未解决

以上是关于/usr/lib/python2.7/subprocess.py", line 1239, in _execute_child的主要内容,如果未能解决你的问题,请参考以下文章