python 2.7 - PyInstaller not working on simple HelloWorld Program -
so running on 64-bit windows 7, , set pyinstaller pip , pywin32. have python 2.7.
i made simple hello world program code
print "hello world!"
i put file in same directory pyinstaller, , ran code in command prompt
pyinstaller.py helloworld.py
yet, when try that, error message:
error loading python dll: c:\progra~1\pyinst~1.1\build\hellow~1\python27.dll (error code 126)
what doing wrong , how fix this?
run -f flag produce standalone exe:
pyinstaller.py -f helloworld.py
it output dist/helloworld.exe
note different location when -f not used, sure run right exe afterwards.
Comments
Post a Comment