title: tkinter - "ImportError: the specified module could not be found" python 3.5.1
body: <p>I'm having issues running a tkinter program in python 3.5.1, and I really don't understand what's going on. It's never been a problem prior to this point, but now when attempting to run the program in question, I get the following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:/Users/Joe/PycharmProjects/Physics2-0/Physics2-0.py", line 1, in &lt;module&gt;
      from tkinter import *
    File "C:\Python35\lib\tkinter\__init__.py", line 35, in &lt;module&gt;
      import _tkinter # If this fails your Python may not be configured for Tk
  ImportError: DLL load failed: The specified module could not be found.
  </code></pre>
  
  <p>I recently uninstalled and reinstalled python 3.5.1 to make sure that everything was set back to the default  way it's supposed to be and was when I started developing the program, because I thought I might have messed something up while trying to work with <code>cx_freeze</code>, and as far as I can tell, everything is as it was before, when the program worked. I have no idea what changed. The import statements for the program in question are below:</p>
  
  <pre><code>from tkinter import *
  from tkinter import ttk
  from sympy import Symbol
  from sympy.solvers import solve
  </code></pre>
  
  <p>Any and all help is appreciated. I'm at a loss for how to go forward.</p>
  
  <p>EDIT 1: This is getting weirder and weirder. After running the tkinter test like I said in the comments that I did, I tried running the program, and now it will run. I have no clue why.</p>
  
  <p>EDIT 2: The plot thickens. I created a setup.py for <code>cx_freeze</code> to make another attempt at creating an executable of the program. I set my tcl and tk libraries manually as <code>c:\python35\tcl\tcl8.6</code> and <code>c:\python35\tcl\tk8.6</code>, respectively, and tried to build the executable. It seemed like it worked, but when I ran the executable, it gave me the same error message as it did above, but in a popup error message box, not console. I then tried to do the tkinter test in a python console again, and now when I try <code>import _tkinter</code> I get an error message saying <code>ImportError: DLL load failed: The specified module could not be found.</code> I don't think my computer has ever confused me this much. Someone please help.</p>