Facing problem in creating a Py2Exe.
Step -1 ) My Python24 software is available at "C:\Python24".A s suggested in the Article , I Copied the "pyinstalle r-1.3" at the location "C:\Python2 4" after extracting the files.
Step-2 ) Double clicked on Configure.py, and config.dat is created
Step-3) download UPX from http://upx.sourceforge .net/#download (Win32 Console package)
Step-4) After unpacking the archive, copied upx.exe to C:\Python24 directory.
Step-5) Created "HelloWorld .py" at location "C:\Sample"
Step-6)Created HelloWorld.bat
Step-7) Double-click on HelloWorld.bat
After the Step -7 ,I am getting the following error message"'python ' is not recognized as an internal or external command,
operable program or batch file."
-----------------------------------------------
- Error
-
-
C:\Documents and Settings\xyz>C:\Sample\HelloWorld.bat
-
-
C:\Documents and Settings\xyz>set PIP=C:\Python24\pyinstaller-1.3\
-
-
C:\Documents and Settings\xyz>python C:\Python24\pyinstaller-1.3\Makespec.py
-
--onefile --console --upx --tk HelloWorld.py
-
'python' is not recognized as an internal or external command,
-
operable program or batch file.
-
-
C:\Documents and Settings\xyz>python C:\Python24\pyinstaller-1.3\Build.py Hel
-
loWorld.spec
-
'python' is not recognized as an internal or external command,
-
operable program or batch file.
-
-
C:\Documents and Settings\xyz>
-
-