auto-py-to-exe created file does not execute properly

Viewed 21

I used auto-py-to-exe to convert my .py to a .exe and why my py works as expected, my exe does not work. The console just springs up for a split second, before closing again and the code does not execute.

In case anyone wonders, these are the modules used in the code:

import os
from tkinter import *
from tkinter import ttk
from tkinter.filedialog import askdirectory
import cv2
import numpy as np

I do not understand where the error occurs...

EDIT: "Open cmq and run the .exe on the terminal. In this way you can see the error message"

  • The Console throws no error, it looks like everything worked properly, but it clearly didn`t.
0 Answers
Related