title: matplotlib - no module named tkinter in Blender python
body: <p>I am trying to write a <code>blender</code> script for which I need <code>matplotlib.pyplot</code>. When trying to <code>import matplotlib.pyplot as plt</code> I get the following error:</p>
  
  <pre><code>ImportError: No module named 'tkinter'
  </code></pre>
  
  <p>However, using the installed <code>anaconda</code> version, the import is no problem. The common <a href="https://stackoverflow.com/a/36327323/3881984">solution</a> to run</p>
  
  <pre><code>sudo apt-get install python3-tk
  </code></pre>
  
  <p>does not solve the problem. 
  I tried to add the Path to <code>tkinter</code> with:</p>
  
  <pre><code>sys.path.append('/usr/lib/python3.4/tkinter/')
  
  sys.path.append('/home/&lt;username&gt;/anaconda3/lib/python3.6/tkinter/')
  </code></pre>
  
  <p>Both commands did not resolve the error. </p>