Steps to run file and compile to exe create a virtual enviroment cd into it activate the env pip install -r requirements.txt To run file python main.py To Compile file pyinstall main.py The compile program will be label main within the dist folder created by pyinstall