I used this setup code I found and changed it and it successfully imported everything but the exe just opens and immediately closes on launch.
import cx_Freez