Skip to content Skip to sidebar Skip to footer

Build A .exe For Windows From A Python 3 Script

I would like building an executable for a python 3 script that: imports pyqtgraph (with pyqt5) imports theano and pymc3 also imports numpy, scipy, sys, os opens a simple GUI made

Solution 1:

To create an executable file of your Python program, run the following command in CMD.First you need to install pyinstaller, with the following command:

pip install pyinstaller

And then do the following to create one executable file of your Python program, first, Go to your program path, (with cd) where your Python (.py) file is, and then:

pyinstaller -w -F YourPyFile

Post a Comment for "Build A .exe For Windows From A Python 3 Script"