Pmw problem

Don Arnold dlarnold at west.com
Thu Jan 31 08:44:31 EST 2002


Anyone know what's causing this? :

Python 2.1.1 (#20, Jul 20 2001, 01:19:29) [MSC 32 bit (Intel)] on
win32
Type "copyright", "credits" or "license" for more information.
>>> import Pmw
>>> root = Pmw.initialise()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "Pmw\Pmw_0_8_5\lib\PmwLoader.py", line 134, in __getattr__
    self._initialise()
  File "Pmw\Pmw_0_8_5\lib\PmwLoader.py", line 88, in _initialise
    basemodule = self._getmodule(path + '.Pmw' + _BASEMODULE)
  File "Pmw\Pmw_0_8_5\lib\PmwLoader.py", line 72, in _getmodule
    mod = sys.modules[modpath]
KeyError: _Pmw.Pmw_0_8_5.lib.PmwBase
>>>

What am I missing here? Pmw was installed to C:\PYTHON21\PMW, and I
have a '.pth' file entry for that directory. That must be okay, since
the import doesn't generate an ImportError.



More information about the Python-list mailing list