I have installed the wxPython binary for Windows/Python2.2 and this put wxPython in Python22\Lib\site-packages directory. This directory is listed in sys.path, I have even edited the windows registry to add wxPython here, but all I get is 'No module named wxPython.wx' when attempting to use it.
This is very frustrating. any help would be appreciated very much.
Thanks, Geoffrey
···
--
_______________________________________________
Get your free email from http://mymail.operamail.com
Powered by Outblaze
Geoffrey:
Confirm that you have the correct version of wxPython, in particular, make sure you have the Python 2.2.x version, and that the directory it's installing to really is Python22\Lib\site-packages (not Python21\Lib\site-packages).
Confirm that you're really running Python 2.2.2 when you're trying to import (i.e. that there's not another Python (such as 2.1) trying to run and finding the module not installed for that version).
You should not have to touch the registry to install. The installer is know to work on at least Win2K and Win98 with the python.org Python 2.2.2 binary distribution w/out any special operations other than running the Python 2.2.2 installer then the wxPython for Python 2.2.x installer.
If you don't find a solution above, re-installing both would probably help.
HTH,
Mike
Geoffrey Bays wrote:
···
I have installed the wxPython binary for Windows/Python2.2 and this put wxPython in Python22\Lib\site-packages directory. This directory is listed in sys.path, I have even edited the windows registry to add wxPython here, but all I get is 'No module named wxPython.wx' when attempting to use it.
This is very frustrating. any help would be appreciated very much.
Thanks, Geoffrey
--
_______________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://members.rogers.com/mcfletch/