I've ran both pyinstaller and cx_freeze to try to build my project into an exe file multiple times now and cannot get it to work. When I try to launch it from the file finder it crashes immediately. When I try to run it from powershell is when I get that error. I have ran pyinstaller on another one of my programs to verify that I can run other programs. I've added # -- coding: utf-8 -- to the top of all of the modules, including the main one. I've seen this question asked on here but none of the answers have worked. Any help would be appreciated.
import sys import pygame These were the only packages used and they were included in my cx_Freeze