Assuming you have the protocol installed, which you should after installing Python inside the Scripts folder. Install PyInstaller using pip, enter the following at a command prompt.
After installing PyInstaller, find the pyinstaller file files (they should be where the pip files are inside the Scripts folder) and go to the command line and enter the following.
- c: \ python27 \ Scripts> pyinstaller --onefile c: \ yourscript.py
The above command will create a folder called dist in the Scripts folder, this will contain one executable file "yourscript.exe".
source share