[wxPython-users] 2.8.3 Install Procedure Question
Daniel B. Koch
kochdb at ornl.gov
Wed May 9 11:53:23 PDT 2007
Thanks Kevin, that's the option I was wondering about. It seems to
eliminate the need for PYTHONPATH but not LD_LIBRARY_PATH even though I
hard-coded it when I built it using the directions in INSTALL step 2:
--enable-rpath=/opt/wx/2.8/lib
Without specifying the LD_LIBRARY_PATH, I get an import error:
[ko5 at amber site-packages]$ ls
README wxaddons-2.8.3.0-py2.5.egg-info wxversion.py
wx-2.8-gtk2-unicode wx.pth wxversion.pyc
wxaddons wxPython_common-2.8.3.0-py2.5.egg-info
[ko5 at amber site-packages]$ python2.5
Python 2.5.1 (r251:54863, May 9 2007, 10:43:25)
[GCC 4.1.1 20070105 (Red Hat 4.1.1-51)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/opt/python2.5/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/__init__.py",
line 45, in <module>
from wx._core import *
File
"/opt/python2.5/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 4, in <module>
import _core_
ImportError: libwx_gtk2ud_aui-2.8.so.0: cannot open shared object file:
No such file or directory
>>>
Dan
--
Dr. Daniel B. Koch
Oak Ridge National Lab
http://www.ornl.gov/sci/gist/bios/bio_koch.html
(865) 241-9096
More information about the wxpython-users
mailing list