title: AttributeError: 'module' object has no attribute 'pydebug'
body: <p>When trying to run a python script, I get the error <code>AttributeError: 'module' object has no attribute 'pydebug'</code>. I am using Python 2.6.</p>
  
  <p>Full error:</p>
  
  <pre class="lang-none prettyprint-override"><code>File "/lib/python2.6/distutils/sysconfig.py", line 238, in get_makefile_filename
      return os.path.join(lib_dir, "config" + (sys.pydebug and "_d" or ""), "Makefile")
  AttributeError: 'module' object has no attribute 'pydebug'
  </code></pre>