当我在Windows 10中执行python setup.py install
时,我看到了这个输出:
C:\Python27\Tools\Scripts>python setup.py install
running install
running build
running build_scripts
creating build
creating build\scripts-2.7
copying and adjusting byteyears.py -> build\scripts-2.7
copying and adjusting checkpyc.py -> build\scripts-2.7
copying and adjusting copytime.py -> build\scripts-2.7
copying and adjusting crlf.py -> build\scripts-2.7
copying and adjusting dutree.py -> build\scripts-2.7
error: file 'C:\Python27\Tools\Scripts\ftpmirror.py' does not exist
答案 0 :(得分:1)
我很容易解决这个问题。只需将https://svn.python.org/projects/python/trunk/Tools/scripts/ftpmirror.py中丢失的文件添加/复制到路径C:\Python27\Tools\Scripts
并执行
python setup.py install
试。