when I call "import wx" from the interactive console, it works (i.e. it doesn't complain). But when I call the same from a script, it complains that it can not find the wx module.
------------works for interactive---------------------------- Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import wx >>> ------------does not work frm script-------------------------- Traceback (most recent call last): File "c:\temp\myscript.py", line 4, in <module> import wx ImportError: No module named wx I run Vista Home premium 64bit. Python 2.6.1 (the 32-bit version). I installed the latest 32-bit ANSI version of wxpython. (http:// downloads.sourceforge.net/wxpython/wxPython2.8-win32-ansi-2.8.9.1- py26.exe) In the folder C:\Python26\Lib\site-packages, I find a wx.pth file with a single line in there: "wx-2.8-msw-ansi" in that same directory is a folder named "wx-2.8-msw-ansi" and it contains a subdirectory called "wx" with what appears to be the regular wx libary stuff, including __init__.py My PATH starts with C:\Python26;C:\Python26\Scripts;C:\Python26\lib; any idea's ? -- http://mail.python.org/mailman/listinfo/python-list