AttributeError: 'module' Objekt hat kein Attribut 'pydebug'

Beim Versuch, ein Python-Skript auszuführen, wird der Fehler angezeigtAttributeError: 'module' object has no attribute 'pydebug'. Ich benutze Python 2.6.

Voller Fehler:

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'

Antworten auf die Frage(4)

Ihre Antwort auf die Frage