windows XP 中的 easy_install 出现错误“无法识别的存档类型”

发布于 2024-11-19 06:45:38 字数 144 浏览 7 评论 0原文

此错误“无法识别的存档类型”发生在一台 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

愿得七秒忆 2024-11-26 06:45:38

您的路径中很有可能有一个与您尝试安装的软件包同名的文件或目录,例如:

easy_install ali    
# Processing ali
# error: Not a recognized archive type: ali

这是因为我在同一目录或路径上有一个 ./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:

easy_install ali    
# Processing ali
# error: Not a recognized archive type: ali

this is because I have an ./ali in the same directory or on the path that I am running the easy_install command from

不知在何时 2024-11-26 06:45:38

当我在下载之后或下载过程中不小心重命名了 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文