Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Easy_install of wxpython has "setup script" error

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

like image 987
physicsmichael Avatar asked Jan 25 '09 11:01

physicsmichael


2 Answers

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.

like image 124
Martin v. Löwis Avatar answered Oct 03 '22 15:10

Martin v. Löwis


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.

like image 34
Evan Plaice Avatar answered Oct 01 '22 15:10

Evan Plaice