wxpython的Easy_install有“安装脚本” 错误
我安装了 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它失败的原因很简单: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.
wxPython 2.8.9.1确实使用distutils
在'wxPython-src-2.8.9.1/wxPython/'下运行:
安装wxPython。 至少 INSTALL.txt 对于该特定版本是这么说的。
wxPython 2.8.9.1 does use distutils
Under 'wxPython-src-2.8.9.1/wxPython/' run:
To install wxPython. At least that's what the INSTALL.txt says for that specific version.