wxPython problem

Michael Hipp Michael
Wed Sep 8 11:44:44 PDT 2004


No doubt this is something really simple ...

I'm trying to get going on some development work with Python and 
wxPython. So I downloaded and installed the relevant rpms from 
fedora.us. It all installed okay, but here's what I get when I run it:

$ python -c 'import wx'
Traceback (most recent call last):
   File "<string>", line 1, in ?
   File "/usr/lib/python2.3/site-packages/wx/__init__.py", line 45, in ?
     from wxPython import wx
   File "/usr/lib/python2.3/site-packages/wxPython/__init__.py", line 
20, in ?
     import wxc
ImportError: /usr/lib/python2.3/site-packages/wxPython/wxc.so: cannot 
open shared object file: No such file or directory

$ ls -l /usr/lib/python2.3/site-packages/wxPython/wxc.so
-rwxr-xr-x  1 root root 2323356 May 28 17:22 
/usr/lib/python2.3/site-packages/wxPython/wxc.so

The wxc.so file is right where it ought to be and with normal 
permissions. Importing the wxc.so directly produces the same. Anyone 
know how to troubleshoot this?

I had to use i386 rpms as no x86_64 rpms were available. Any chance that 
would cause this? Sure hope not.

Thanks,
Michael


More information about the Linux-users mailing list