Py2exe problem with pyqt+matplotlib

John Posner jjposner at optimum.net
Tue Mar 15 14:35:20 EDT 2011


On 2:59 PM, Massi wrote:
> I everyone,
>
> I'm trying to write a setup file for py2exe (0.6.9) to convert my
> script into a windows (on win 7) executable. In my script (python2.6)
> I use PyQt and matplotlib. Here is the setup.py file:
<snip>
> ImportError: No module named Tkinter
>
> Obviously Tkinter is not imported since I'm using pyqt, so can anyone
> point me out what I'm doing wrong?
> Thanks in advance!

PyQt doesn't use Tkinter, but matplotlib does!

-John





More information about the Python-list mailing list