PATH or PYTHONPATH under Windows ???

Giuseppe Di Martino no-sp at m-from.net
Tue Jun 5 18:49:56 EDT 2007


Il Tue, 05 Jun 2007 23:57:15 +0200, Stef Mientki ha scritto:

> hello,
> 
> after cleaning up a PC, Python can't find any libraries anymore.
> But happily I've still one PC, where Python is running perfect.
> Now I always read about the environment variable "PYTHONPATH".
> But on neither PC there exists a "PYTHONPATH".
> 
> On the PC that works ok,
> there is the standard "PATH" environment variable,
> and indeed there are all the Python Library references.
> 
> Please enlighten me.
> 
> thanks,
> Stef Mientki

Download pyrun.exe (http://developer.berlios.de/projects/pyrun) and copy
it in your Python's folder; to exec python.exe use pyrun python or to exec
script.py use pyrun python script.py

Giuseppe




More information about the Python-list mailing list