On 23/02/2006 11:53 AM, Heang Lim wrote:
> I've installed Python on my c:\python23 directory and Apache on my
> c:\Apache2 directory.  On my DOS windows, I went to c:\Apache\htdocs
> directory and enter 'python' to go into the interactive mode.  When I
> tried to import some modules such as 'import os' or 'import string', I
> was getting 'ImportError: no module named os', etc.  Am I missing some
> sort of environment variable setting somewhere?   I have my PYTHONPATH
> system variable set to 'c:\python23'.
> 
do this:
DOS-prompt>python
>>> import sys
>>> sys.path
and show us the output (copy/paste).

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to