Oct 14, 2016 04:08 AM
(This post was last modified: Oct 14, 2016 05:02 AM by Ensky.)
This is my first tutorial on Hack Forums, I hope that you enjoy it!
This is tried and tested on a Windows 10 machine with Python 3.5 installed.
Step 1:
Open up the command prompt and install pyinstaller via pip
pip install pyinstaller.
Step 2:
Once PyInstaller has successfully installed, you may CD into the directory of the file, I suggest placing it into its own folder as PyInstaller generates some extra documents.
cd <directory>
pyinstall <scriptname>.py
You're done!
“failed to create process" error
Head to your Python install folder, /scripts/ and then locate "pyinstaller-script.py"
Open it up in your text editor and add quotes around the directory, like so:
From
#!c:\program files (x86)\python35-32\python.exe
To
#!"c:\program files (x86)\python35-32\python.exe"
Save and exit, now your compile should work!
This is tried and tested on a Windows 10 machine with Python 3.5 installed.
Step 1:
Open up the command prompt and install pyinstaller via pip
pip install pyinstaller.
Step 2:
Once PyInstaller has successfully installed, you may CD into the directory of the file, I suggest placing it into its own folder as PyInstaller generates some extra documents.
cd <directory>
pyinstall <scriptname>.py
You're done!
“failed to create process" error
Head to your Python install folder, /scripts/ and then locate "pyinstaller-script.py"
Open it up in your text editor and add quotes around the directory, like so:
From
#!c:\program files (x86)\python35-32\python.exe
To
#!"c:\program files (x86)\python35-32\python.exe"
Save and exit, now your compile should work!


