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