wxpython的Easy_install有“安装脚本” 错误

发布于 2024-07-12 03:32:52 字数 730 浏览 3 评论 0原文

我安装了 python 2.5,fink 放置在 /sw/bin/ 中。 我使用简易安装命令

sudo /sw/bin/easy_install wxPython

尝试安装 wxpython,但在尝试处理 wxPython-src-2.8.9.1.tab.bz2 时收到错误,提示没有安装脚本。 在此之前,Easy-install 已适用于其他几个安装。 有什么帮助可以解释为什么现在崩溃了吗?

编辑:错误发生在转储回 shell 提示符之前。

阅读http://wxPython.org/download.php
最佳匹配:wxPython src-2.8.9.1
下载 http://downloads.sourceforge.net/wxpython/wxPython- src-2.8.9.1.tar.bz2
处理wxPython-src-2.8.9.1.tar.bz2
错误:在 /tmp/easy_install-tNg6FG/wxPython-src-2.8.9.1.tar.bz2 中找不到安装脚本

I have an install of python 2.5 that fink placed in /sw/bin/. I use the easy install command

sudo /sw/bin/easy_install wxPython

to try to install wxpython and I get an error while trying to process wxPython-src-2.8.9.1.tab.bz2 that there is not setup script. Easy-install has worked for several other installations until this one. Any help on why it's busting now?

EDIT: The error occurs before dumping back to shell prompt.

Reading http://wxPython.org/download.php
Best match: wxPython src-2.8.9.1
Downloading http://downloads.sourceforge.net/wxpython/wxPython-src-2.8.9.1.tar.bz2
Processing wxPython-src-2.8.9.1.tar.bz2
error: Couldn't find a setup script in /tmp/easy_install-tNg6FG/wxPython-src-2.8.9.1.tar.bz2

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

残疾 2024-07-19 03:32:52

它失败的原因很简单:wxPython 中没有 setup.py; wxPython不使用distutils进行安装。

相反,请阅读源代码分发中的 README.1st.txt 文件,以获取有关如何安装 wxPython 的说明。

There is a simple reason why it's busting: there just is no setup.py in wxPython; wxPython does not use distutils for installation.

Instead, read the file README.1st.txt in source distribution for instruction on how to install wxPython.

你如我软肋 2024-07-19 03:32:52

wxPython 2.8.9.1确实使用distutils

在'wxPython-src-2.8.9.1/wxPython/'下运行:

sudo python setup.py install

安装wxPython。 至少 INSTALL.txt 对于该特定版本是这么说的。

wxPython 2.8.9.1 does use distutils

Under 'wxPython-src-2.8.9.1/wxPython/' run:

sudo python setup.py install

To install wxPython. At least that's what the INSTALL.txt says for that specific version.

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