https://juejin.im/post/5e3ad8376fb9a07c7e3d833d
安装python2.7出现问题:
Traceback (most recent call last):
File "D:\33\.repo\repo/main.py", line 538, in <module>
_Main(sys.argv[1:])
File "D:\33\.repo\repo/main.py", line 512, in _Main
result = repo._Run(argv) or 0
File "D:\33\.repo\repo/main.py", line 181, in _Run
portable.NoPager(cmd)
File "D:\33\.repo\repo\portable.py", line 277, in NoPager
RunWindowsShell(cmd)
File "D:\33\.repo\repo\portable.py", line 281, in RunWindowsShell
redirect_all(executable)
File "D:\33\.repo\repo\portable.py", line 288, in redirect_all
p = subprocess.Popen([executable], stdin=subprocess.PIPE, stdout=old_sysout, stderr=old_syserr)
File "C:\Python27\lib\subprocess.py", line 394, in __init__
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 644, in _execute_child
startupinfo)
WindowsError: [Error 2]
https://www.python.org/downloads/release/python-377/