wxPython problems?

skaller skaller at maxtal.com.au
Tue Sep 21 16:45:32 EDT 1999


Aaron Jon Reichow wrote:

> I've a stock, pretty freshly installed system running RedHat 6.0 and
> installed the wxPython-2.1b3-1.i386.rpm from the wxPython site and
> wxGTK-2.0.1-1.i386.rpm from the wxWindows site.  They installed with no
> problems reported from the RPM program, and have been verified to be
> installed by GnoRPM.
>
> Unfortunately though, I cannot use it, which is odd, because I just did a
> fresh install a few days ago.  When I load up the python interpreter, and
> type "import wxPython.wx" I get the following error:
>
> >>> import wxPython.wx
> Traceback (innermost last):
>   File "<stdin>", line 1, in ?
>   File "/usr/lib/python1.5/site-packages/wxPython/wx.py", line 2, in ?
>     import wxc
> ImportError: /usr/lib/libwxPyHelpers.so: undefined symbol:
> CopyObject__C14wxComm
> andEventR8wxObject
>
> I get the same error when trying to run the demo.py program in the demo
> directory.
>
> RedHat 6.0 comes with Python 1.5.1 and the rpms I used were built for
> it.  If it matters, I encountered the same problem with a freshly
> installed RH 5.2 system.
>
> Any tips?  I would appreciate an email as I do not frequent the groups.
>
> Thanks in advance!
> Aaron

I just installed it:

>rpm --install wxPython-2.1b3-1.i386.rpm
[root at ruby] ~>mv /usr/lib/python1.5/site-packages/wxPython
/usr/local/lib/python1.5/site-packages/wxPython
[root at ruby] ~>python
Python 1.5.2 (#4, Sep  7 1999, 16:33:21)  [GCC egcs-2.91.66 19990314/Linux
(egcs- on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import wxPython.wx
>>>

Note that wxPython installs in the wrong place, I had to move it, as you
see.
I previously installed:

    wxPython-2.1b3 requires wxGTK-2.1.0-9 available from
    http://www.freiburg.linux.de/~wxxt/download.html.

as

    Robin Dunn
    Software Craftsman
    robin at AllDunn.com

notes.

I ran the demo with no problems.

I'm running Redhat 6.0, but I'm using Python 1.5.2, installed in
/usr/local/lib/python1.5.






More information about the Python-list mailing list