On May 8, 9:06 am, HMS Surprise <[EMAIL PROTECTED]> wrote: > On May 7, 6:00 pm, John Machin <[EMAIL PROTECTED]> wrote: > > > > > On May 8, 8:06 am, HMS Surprise <[EMAIL PROTECTED]> wrote: > > > > I edited environment varialbes and have added C:\Python25\Lib to > > > PYTHONPATH but get the no module message when the statement > > > That directory should already be in sys.path after a normal Python > > install. Likewise the PYTHONPATH environment variable should be > > undefined: > > > DOS_prompt> set PYTHONPATH > > Environment variable PYTHONPATH not defined > > > What was already in PYTHONPATH before you added something? > > Why did you think you needed to change things? > > Only what I added before: > .; c:\maxq\bin\testScripts; c:\maxq\bin;c:\maxq\jython
You have somehow managed to *REPLACE* the whole of sys.path with those 4 directories. Have you fiddled with PYTHONHOME as well? [You shouldn't]. Go to a DOS-prompt and type set PYTHONPATH set PYTHONHOME and tell us what you see. -- http://mail.python.org/mailman/listinfo/python-list