ImportError: No module named 'tkinter' after pyInstaller
<p>I want to do an executable, but ervery time I run the .exe it writes <code>ImportError: No module named 'tkinter'</code>, and all I read on Stackowerflow do not help me ! </p>

<p>My python program is simple (ODE solver) and requests only : </p>

<pre><code>from math import*
from pylab import*
import numpy as np

import matplotlib
import numpy as np
import matplotlib.pyplot as plt
</code></pre>

<p>I paste a copy of my <code>prog.py</code> into the <code>C:\Python\Scripts</code> folder where pyInstaller is. I compute the command line <code>pyinstaller -F eulersolver.py</code>, this creates a <code>prog.exe</code> in the <code>dist</code> folder. When I run this code I have </p>

<pre><code>ImportError: No module named 'tkinter'
Failed to execute script prog
</code></pre>

<p>But my program do not use this module... do you have any proposition or help for me ?</p>

<p><strong>OS :</strong> Windows64</p>

<p><strong>Python :</strong> 3.5 for Win64</p>

<p><strong>Note :</strong> I already unistall/install python 3 times today (after reading documentation on this webside and abroad). </p>

<p><strong>Note 2 :</strong> I use Python only for scientific issues. I am no computer scientist, so be kind to me when explaining computer stuff :S </p>