AttributeError: obiekt „module” nie ma atrybutu „pydebug”

Podczas próby uruchomienia skryptu Pythona pojawia się błądAttributeError: 'module' object has no attribute 'pydebug'. Używam Pythona 2.6.

Pełny błąd:

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'

questionAnswers(4)

yourAnswerToTheQuestion