Look for a wx.pth file, it may have gotten installed in /usr/lib/python2.6/site-packages instead of in /usr/lib64/... That file is what tells python to add the wx-2.8-gtk2-ansi folder to the sys.path.
···
On 1/8/13 2:02 PM, Darth-Andy wrote:
Hello. I am trying to install wxPython on my RedHat 6.0 system that has
Python 2.6 installed. I followed the directions for building and
compiling from here very carefully:
(http://www.wxpython.org/INSTALL.html) and I ended up with what looks
like a valid entry in my site-packages directory (in my case:
/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-ansi). However when I run
python and try to import wx I get : ImportError: No module named wxSeems pretty basic but I'm stuck. I'm not sure how Python parses the
site-packages directory so I'm not sure what to look for that may be out
of the ordinary. Any thoughts?
--
Robin Dunn
Software Craftsman