PYTHONPATH vs PATH?

Fredrik Lundh fredrik at pythonware.com
Mon May 8 09:51:19 EDT 2006


Michael Yanowitz wrote:

>   Someone on my team tried out installing my Python code and
> found that setting PYTHONPATH does not work, but setting PATH
> environment variable works the way PYTHONPATH should. Is that
> how it supposed to be

PATH is used by the operating system to find executables, and PYTHONPATH
is used by Python to find Python modules.

why setting the PATH helped in your case is impossible to tell, without knowing
exactly what your application does.

</F> 






More information about the Python-list mailing list