I created a Python application (2.7) that uses Tkinter and am trying to create Windows7.exe using Pyinstaller (3.2). The application works on Windows, I run it as python myapp.py , but after compiling into the pyinstaller distribution, I get this error message:
ImportError: No module named Tkinter
To make sure myapp.py top contains:
from copy import deepcopy import cPickle as pickle import Tkinter as tk from PIL import ImageTk
Checking the distribution directory, I see tk85.dll, tcl85.dll and two directories that see the corresponding ones, tcl / and tk /
I found many links to Tkinter secondary dependencies, such as matplotlib, which imports Tkinter itslef, but I did not find any details about such a direct dependency.
Any ideas on how to make this work?
source share