Why XP can not run Python after being setting the PATH?
Daniel Mark
danielmarkhot at gmail.com
Fri Jul 28 14:44:47 EDT 2006
Hello Ray:
Python is on my Path list as follows:
C:\Program Files\Python24>echo %path%
C:\Program
Files\texmf\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\cygwin\usr\local\bin;c:\cygwin\bin;C:\P
rogram Files\Java\jdk1.5.0_06\bin;C:\Program
Files\gp400win32\gnuplot\bi
n;C:\Program Files\Python24;C:\Program Files\j2sdk1.4.2_09\bin;
So I don't think that is the real problem:)
thank you
Ray wrote:
> By any chance the command window hasn't been restarted after you've
> changed the PATH? Strange that looks OK.
>
> If you do echo %PATH% what does it tell you, is Python there?
>
> Cheers
> Ray
>
> Daniel Mark wrote:
> > Hello all:
> >
> > I have set the PATH for Python as follows:
> >
> > My Computer->Properties->Advanced->Environment Variables->System
> > Variables->Path
> >
> > ...; C:\Program Files\Python24;
> >
> > Then I try to run python under command line
> >
> > C:\>python
> >
> > C:\>python.exe
> >
> > I got nothing:)
> >
> > It works iff I run as follows:
> >
> > C:\>"Program Files\Python24\python.exe"
> > Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)]
> > on win32
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>>
> >
> > My question is how I can set the path so that the XP can run python
> > without the full path?
> >
> >
> > Thank you very much
> > -Daniel
More information about the Python-list
mailing list