wxPython problem
Net Llama!
netllama
Wed Sep 8 12:08:11 PDT 2004
On Wed, 8 Sep 2004, Michael Hipp wrote:
> 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.
Maybe add /usr/lib/python2.3/site-packages/wxPython/ to /etc/ld.so.conf
and run ldconfig?
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo http://netllama.ipfox.com
More information about the Linux-users
mailing list