Easy_install of wxpython has "setup script" error

physicsmichael picture physicsmichael · Jan 25, 2009 · Viewed 11.6k times · Source

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

Answer

Martin v. Löwis picture Martin v. Löwis · Jan 25, 2009

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.