windows XP 中的 easy_install 出现错误“无法识别的存档类型”
此错误“无法识别的存档类型”发生在一台 Windows XP 计算机上,但绝不会发生在另一台计算机上。太奇怪了!
我的 python 是 2.5,我是否错过了 Windows 中的某些内容?
This error "Not a recognized archive type" happens on one Windows XP machine but Never happen on another one. It's so weird!
My python is 2.5, did I miss something in my windows?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的路径中很有可能有一个与您尝试安装的软件包同名的文件或目录,例如:
这是因为我在同一目录或路径上有一个 ./ali运行 easy_install 命令
there is a good chance you have a file or directory in your path that has the same name with the package you are trying to install, like:
this is because I have an ./ali in the same directory or on the path that I am running the easy_install command from
当我在下载之后或下载过程中不小心重命名了 setuptools Egg 时,就发生了这种情况......下载并重新安装总是可以解决这个问题。 :)
说明如下: http://pypi.python.org/pypi/setuptools
This has happened to me when I've accidentally renamed the setuptools egg after or during downloading ... Downloading and reinstalling has always fixed it. :)
Instructions here: http://pypi.python.org/pypi/setuptools