Hi,
I'm trying to set up a new install of wxPython, etc. I have my application
working on a different computer, but I keep getting errors on this one. I
installed wxPython using Yum on a Fedora Core 6 system. I can see the files
for all the modules I need, but for some reason, my software can't. I'm
using PyDev in Eclipse. My PYTHONPATH is:
[shari@localhost ~]$ echo $PYTHONPATH
/usr/local/src/VTK/vtk/bin:/usr/local/src/vtk/VTK/Wrapping/Python:/usr/local
/lib:/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode:/usr/local/lib/pyt
hon2.4/site-packages/vtk:/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicod
e/wx:/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/lib:/usr/lib/py
thon2.4/site-packages/wx-2.6-gtk2-unicode/wxPython:/usr/lib/python2.4/site-p
ackages/wx-2.6-gtk2-unicode/wxPython/lib
I have it set the same in Eclipse, both in the Project -> Properties screen
and in the Window -> Preferences screen. I didn't think I should need
anything other than /usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode in
the path to get wxPython working, but I was experimenting by adding the
lower level directories when I couldn't get it to work with just that;
nothing seems to help. The error I am getting is:
import wx.lib.scrolledpanel as scrolled
ImportError: No module named lib.scrolledpanel
Does anyone have any ideas for me? I'm still a little new at this, so I'm
hoping that I've missed something obvious.
Thanks!
Shari
···
____________________________________________________________________________
This email has been scanned at loralee.net and is believed to be virus free.