I am trying to use in cv_freeze
library for create my python script to exe GUI application. my application using tkinter
only, but when I try to build the exe file: I get an TCL_LIBRARY
error. why is that? this is my setup code:
import cx_Freeze
import sys
import matplotlib
base = None
if sys.platform == 'win32':
base = "Win32GUI"
executables = [cx_Freeze.Executable("tkinterVid28.py", base=base, icon="clienticon.ico")]
cx_Freeze.setup(
name = "SeaofBTC-Client",
options = {"build_exe": {"packages":["easygui","matplotlib"]}},
version = "0.01",
description = "Sea of BTC trading application",
executables = executables
)
and this is myGUI python code:
import tkinter
top = tkinter.Tk()
# Code to add widgets will go here...
top.mainloop()
I am using in python 3.6, thanks for helping or not helping.