我尝试从 ubuntu 和 Windows 终端安装现有的 cookiecutter (git@github.com:Dekalabs/cookiecutter-backend.git),但出现以下错误:
Traceback (most recent call last):
File "c:\users\lisa\appdata\local\programs\python\python37-32\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\lisa\appdata\local\programs\python\python37-32\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\Lisa\AppData\Local\Programs\Python\Python37-32\Scripts\cookiecutter.exe\__main__.py", line 7, in <module>
File "c:\users\lisa\appdata\local\programs\python\python37-32\lib\site-packages\click\core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "c:\users\lisa\appdata\local\programs\python\python37-32\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "c:\users\lisa\appdata\local\programs\python\python37-32\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\lisa\appdata\local\programs\python\python37-32\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "c:\users\lisa\appdata\local\programs\python\python37-32\lib\site-packages\cookiecutter\cli.py", line 152, in main
skip_if_file_exists=skip_if_file_exists,
File "c:\users\lisa\appdata\local\programs\python\python37-32\lib\site-packages\cookiecutter\main.py", line 74, in cookiecutter
directory=directory,
File "c:\users\lisa\appdata\local\programs\python\python37-32\lib\site-packages\cookiecutter\repository.py", line 114, in determine_repo_dir
no_input=no_input,
File "c:\users\lisa\appdata\local\programs\python\python37-32\lib\site-packages\cookiecutter\vcs.py", line 104, in clone
stderr=subprocess.STDOUT,
File "c:\users\lisa\appdata\local\programs\python\python37-32\lib\subprocess.py", line 395, in check_output
**kwargs).stdout
File "c:\users\lisa\appdata\local\programs\python\python37-32\lib\subprocess.py", line 487, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'clone', 'git@github.com:Dekalabs/cookiecutter-backend.git']' returned non-zero exit status 128.
我已经阅读了其他一些有类似错误的帖子,但似乎无法弄清楚。请指教!:)