I converted my py file to .exe using cx_freeze. On launch. It gives me the error
https://www.upload.ee/image/7186947/Erir.PNG
MY setup.py
from cx_Freeze import setup, Executable
import os
import sys
import os.path
PYTHON_INSTALL_DIR = os.path.dirname(os.path.dirname(os.__file__))
os.environ['TCL_LIBRARY'] = os.path.join(PYTHON_INSTALL_DIR,'tcl','tcl8.6')
os.environ['TK_LIBRARY'] = os.path.join(PYTHON_INSTALL_DIR, 'tcl', 'tk8.6')
setup(
name = "Removed",
version = "3.5",
description = "Removed",
executables = [Executable(script = "test1.py", base = "Win32GUI")])