错误:文件'C:\ Python27 \ Tools \ Scripts \ ftpmirror.py'不存在

时间:2017-05-22 06:02:44

标签: python

当我在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

1 个答案:

答案 0 :(得分:1)

我很容易解决这个问题。只需将https://svn.python.org/projects/python/trunk/Tools/scripts/ftpmirror.py中丢失的文件添加/复制到路径C:\Python27\Tools\Scripts并执行

即可
python setup.py install

试。