cx_freeze Tkinter 'Module not Found'
问题 I am trying to create an executable from my python scripts. I am using Windows 7, cx_freeze 5.0.2 and Python 3.6. I know Tkinter isn't included in the normal libraries and that you need to add something similar to the following 2 lines: os.environ['TCL_LIBRARY'] = "C:\\Program Files\\Python35\\tcl\\tcl8.6" os.environ['TK_LIBRARY'] = "C:\\Program Files\\Python35\\tcl\\tk8.6" Except of course for 3.6 and in my location, however I can't find their directory in Anaconda 3.6 I create the following