Q: Installing Pmw/ ActivePython 2.1/ Win98
skywalkerpackage at hotmail.com
Mon Jan 28 07:58:30 EST 2002
Now it seems that I have found the answer myself.
I have installed Pwm in the site-lib directory.
The problem is that the site-lib directory is not included in the
Pythonpath. The Pythonpath is set in the Windows registry (search for
Python). If you include it there then Pmw seems to work. There doesn't
have to be a module Pmw.py. Python must just find the path \Pmw and
the __init__ file in that path. The error message "Cannot find module
Pmw" is very misleading here.
don't reply by email.
On Sat, 26 Jan 2002 12:57:18 GMT, skywalkerpackage at hotmail.com
(Johannes Eble) wrote:
>I have downloaded Pmw (http://pmw.sourceforge.net) and unzipped it
>into the \Lib\site-lib\ directory, but I can't import it. I have
>searched ActivePython, python.org, FAQ, the Pmw documentation, and
>Usenet. Unfortunately, I didn't find any useful information.
>a person stated the same question without answer yet, so it might be
>interesting for at least two persons... ;)
>It is perhaps so easy that they forgot to describe it ;(
>It would be great if someone could help me.
More information about the Python-list