Neil Winchurst wrote:
This is a follow up to the reply I have recently received. I do not know how to continue the thread properly.
I cannot import wx. I was told to use 'python -vv' and then 'import wx'.
I have done this. Python is trying to find wx.so, wx.py, wx.pyc and wx.module.so, The only one on my computer is wx.py. Here is the path.
/usr/share/pycentral/python-wxgtk2.8/site-packages/wx-2.8-gtk2-unicode/wxPython/_wx.py
However this was not found, so I suppose it is a path problem. Thanks for any help
Neil
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
There are two approaches:
1. making sure that python can find wx where it is currently installed
2. installing wx where python can find it
I don't recommend 1 in this case, so let's do 2 instead, which can be done using easy_install, which automatically finds the module, figures out what version you need and where to install it for the active version of python.
easy_install wx
That should do the trick. If you don't have easy_install, you can get it here:
http://peak.telecommunity.com/DevCenter/EasyInstall