P.S. This is my second try to post a question in this group. Please forgive me for inundating your inbox if you get all question. I am getting emails from the group but haven’t been able to post to the group.
If this is not the correct forum, I would apppreciate it somebody could
direct me to the right forum.
Hello Folks,
After struggling for a while, I eventually managed to install
wxPython-2.6.3.3 unicode version in my Red Hat Linux system. But now I am
getting the following error.
[root@rh-aee-07-iw Desktop]# python
Python 2.4.4 (#1, Apr 17 2007, 13:24:25)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
import wx
Traceback (most recent call last):
File “”, line 1, in ?
File “/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/init.py”,
line 42, in ?
from wx._core import *
File “/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py”,
line 4, in ?
import core
ImportError: /usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/core.so:
cannot open shared object file: No such file or directory
I made sure that core.so file is in the directory. The file is there but
for some reason it couldn’t open the file. I tried installing the ansi
version, installing it in another location but of no avail.
After struggling for a while, I eventually managed to install
wxPython-2.6.3.3 unicode version in my Red Hat Linux system. But now I am
getting the following error.
[root@rh-aee-07-iw Desktop]# python
Python 2.4.4 (#1, Apr 17 2007, 13:24:25)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/__init__.py",
line 42, in ?
from wx._core import *
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py",
line 4, in ?
import _core_
ImportError: /usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core_.so:
cannot open shared object file: No such file or directory
>>>
I made sure that _core_.so file is in the directory. The file is there but
for some reason it couldn't open the file. I tried installing the ansi
version, installing it in another location but of no avail.
What are the permissions on the file? Does the user you are running Python as have read and execute permissions for _core_.so? What do you get if you run (as the same user) this: