Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fatal error detected: Module object for pyimod02_importers is NULL

After compiling the python script with auto-py-to-exe, I'm getting this error when I try to open the exe file. There's literally no information about this error on the internet, any ideas?

List of the modules I use in the script:

import secrets
import string
import tkinter as tk

import customtkinter
import pyperclip
like image 815
duruburak Avatar asked Sep 06 '25 08:09

duruburak


1 Answers

The issue is python 3.11.4. Downgrade to 3.11.3 for now. Tested using two windows machines one running 3.11.4 and one 3.11.3.

like image 177
Blake K Avatar answered Sep 09 '25 03:09

Blake K