title: failed to set __main__.__loader__ in Python
body: <p>When running any Python script (by double clicking a .py file on Windows 7) I'm getting a <code>Python: failed to set __main__.__loader__</code> error message. What to do?</p>
  
  <p><strong>More details:</strong> </p>
  
  <ul>
  <li>The scripts work on other machines.</li>
  <li>The only version of Python installed on the machine on which the scripts don't work is 3.2.</li>
  <li>I get the same error when trying to run the script from the Windows shell (cmd).</li>
  <li><p>Here's an example for the content of a file named "hey.py" that I failed to run on my machine:</p>
  
  <p><code>print('hey')</code></p></li>
  </ul>