[python-win32] Python path for COM objects?
Jeff Shannon
jeff@ccvcorp.com
Thu, 24 Jan 2002 17:38:05 -0800
Jeff Shannon wrote:
> I have a wxPython-based application that I've wrapped up as
> a COM object. It works fine under Python 2.1, but after
> upgrading to 2.2, it fails trying to import wxPython
> (ImportError: No module named wxPython.wx).
Nevermind. A little bit of poking around and I figured it out;
I really should have known this already. In the registry, under
PythonCore/2.2/PythonPath, I simply added site-packages to the
semicolon-separated list of directories, and the problem is
solved.
Jeff Shannon
Technician/Programmer
Credit International