python easy_install pylint 错误:系统找不到指定的文件 [英] python easy_install pylint Error: The system cannot find the file specified

查看:69
本文介绍了python easy_install pylint 错误:系统找不到指定的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试使用 esay_install 在我的 Windows 7 机器上安装 pylint 时,我收到错误错误:安装脚本退出并出现错误:系统找不到指定的文件".

I was getting the error 'error: Setup script exited with error: The system cannot find the file specified' When i was trying to install pylint on my windows 7 machine using esay_install.

它仅适用于 pylint.我成功安装了 twitter、logilab-common-0.60.0 和 logilab-astroid-4148103ea6f6.

It is not working for pylint only. I successfully installed twitter, logilab-common-0.60.0 and logilab-astroid-4148103ea6f6.

不知道出了什么问题.

以下是我得到的错误.

C:\>easy_install pylint
Creating c:\python33\lib\site-packages\site.py
Searching for pylint
Best match: pylint 0.28.0
Processing pylint-0.28.0-py3.3.egg
pylint 0.28.0 is already the active version in easy-install.pth
Installing epylint script to C:\Python33\Scripts
Installing epylint.bat script to C:\Python33\Scripts
Installing pylint script to C:\Python33\Scripts
Installing pylint-gui script to C:\Python33\Scripts
Installing pylint-gui.bat script to C:\Python33\Scripts
Installing pylint.bat script to C:\Python33\Scripts
Installing pyreverse script to C:\Python33\Scripts
Installing pyreverse.bat script to C:\Python33\Scripts
Installing symilar script to C:\Python33\Scripts
Installing symilar.bat script to C:\Python33\Scripts
Installing pylint-script.py script to C:\Python33\Scripts
Installing pylint.exe script to C:\Python33\Scripts
Installing pylint-gui-script.py script to C:\Python33\Scripts
Installing pylint-gui.exe script to C:\Python33\Scripts
Installing symilar-script.py script to C:\Python33\Scripts
Installing symilar.exe script to C:\Python33\Scripts
Installing epylint-script.py script to C:\Python33\Scripts
Installing epylint.exe script to C:\Python33\Scripts
Installing pyreverse-script.py script to C:\Python33\Scripts
Installing pyreverse.exe script to C:\Python33\Scripts

Using c:\python33\lib\site-packages\pylint-0.28.0-py3.3.egg
Processing dependencies for pylint
Searching for logilab-astng>=0.24.3
Reading https://pypi.python.org/simple/logilab-astng/
Best match: logilab-astng 0.24.3
Downloading https://pypi.python.org/packages/source/l/logilab-astng/logilab-astn
g-0.24.3.tar.gz#md5=f0dd5dee1d5053939da174e1bfe69388
Processing logilab-astng-0.24.3.tar.gz
Writing c:\users\zenq\appdata\local\temp\easy_install-glk_0e\logilab-astng-0.24.
3\setup.cfg
Running logilab-astng-0.24.3\setup.py -q bdist_egg --dist-dir c:\users\zenq\appd
ata\local\temp\easy_install-glk_0e\logilab-astng-0.24.3\egg-dist-tmp-xzupoo
package init file '.\test\__init__.py' not found (or not a regular file)
Not SVN Repository
package init file '.\test\__init__.py' not found (or not a regular file)
package init file '.\test\__init__.py' not found (or not a regular file)
running 2to3 on build\lib\logilab\astng\brain
error: Setup script exited with error: The system cannot find the file specified

<小时>

我在网上广泛搜索,但找不到解决方案.我该如何解决这个问题?


I searched extensively online but cannot find a solution. How do I fix this?

推荐答案

我刚刚遇到了同样的问题.在研究解决方案时,我遇到了这个线程.这是我的结果的链接,包括对我有用的修复.

I just ran into this same problem. While researching solutions, I came across this thread. Here's a link to my results, including a fix that worked for me.

这篇关于python easy_install pylint 错误:系统找不到指定的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆