Pyinstaller Newbie: Hello World
I'm trying to use PyInstaller v2.1 to create a single executable out of a simple hello world script (Python 2.7). The script, hello.py, has just one line: print 'Hello, World!' I
Solution 1:
There was a ticket reported to the PyInstaller team here that points to this SO answer as a workaround: Pyinstaller --onefile warning pyconfig.h when importing scipy or scipy.signal
You modify your spec file with the following block under the a=Analysis
line:
for d in a.datas:
if'pyconfig'in d[0]:
a.datas.remove(d)
break
That should work for you as it seems to work for most.
Personally I prefer py2exe. Here is a link to a "Hello, World" example do to the exact same thing you are trying to achieve: http://www.py2exe.org/index.cgi/Tutorial
Post a Comment for "Pyinstaller Newbie: Hello World"