processCommit.py脚本的样子:FileNotFoundError:[WinError 2]蟒蛇3.4后提交钩
Error: post-commit hook failed (exit code 1) with output:
Error: Traceback (most recent call last):
Error: File "D:\Repositories\IapAdmin\hooks\processCommit.py", line 15, in <module>
Error: changed = subprocess.Popen(cmd,stdout=subprocess.PIPE).communicate()[0]
Error: File "C:\Python34\lib\subprocess.py", line 859, in __init__
Error: restore_signals, start_new_session)
Error: File "C:\Python34\lib\subprocess.py", line 1112, in _execute_child
Error: startupinfo)
Error: FileNotFoundError: [WinError 2] The system cannot find the file specified
的Python 3.5仍然只是一个alpha释放;你通过Python 3.4使用它的任何原因? – 2015-04-02 17:56:59
看起来像你的'processCommit.py'文件有解析错误。我很确定错误信息正指向你的错误。您可能希望遵循Python教程来了解更多信息。 – DavidS 2015-04-02 17:58:31
现在我指向python 3.4 – 2015-04-02 19:03:01