# installing zipimport hook import zipimport # builtin # installed zipimport hook # d:\Python25\lib\site.pyc matches d:\Python25\lib\site.py import site # precompiled from d:\Python25\lib\site.pyc # d:\Python25\lib\os.pyc matches d:\Python25\lib\os.py import os # precompiled from d:\Python25\lib\os.pyc import errno # builtin import nt # builtin # d:\Python25\lib\ntpath.pyc matches d:\Python25\lib\ntpath.py import ntpath # precompiled from d:\Python25\lib\ntpath.pyc # d:\Python25\lib\stat.pyc matches d:\Python25\lib\stat.py import stat # precompiled from d:\Python25\lib\stat.pyc # d:\Python25\lib\UserDict.pyc matches d:\Python25\lib\UserDict.py import UserDict # precompiled from d:\Python25\lib\UserDict.pyc # d:\Python25\lib\copy_reg.pyc matches d:\Python25\lib\copy_reg.py import copy_reg # precompiled from d:\Python25\lib\copy_reg.pyc # d:\Python25\lib\types.pyc matches d:\Python25\lib\types.py import types # precompiled from d:\Python25\lib\types.pyc import _types # builtin import locale # directory D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\locale import locale # precompiled from D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\locale\__init__.pyc # d:\Python25\lib\codecs.pyc matches d:\Python25\lib\codecs.py import codecs # precompiled from d:\Python25\lib\codecs.pyc import _codecs # builtin import encodings # directory d:\Python25\lib\encodings # d:\Python25\lib\encodings\__init__.pyc matches d:\Python25\lib\encodings\__init__.py import encodings # precompiled from d:\Python25\lib\encodings\__init__.pyc # d:\Python25\lib\encodings\aliases.pyc matches d:\Python25\lib\encodings\aliases.py import encodings.aliases # precompiled from d:\Python25\lib\encodings\aliases.pyc 'import site' failed; traceback: Traceback (most recent call last): File "d:\Python25\lib\site.py", line 415, in main() File "d:\Python25\lib\site.py", line 406, in main aliasmbcs() File "d:\Python25\lib\site.py", line 357, in aliasmbcs enc = locale.getdefaultlocale()[1] AttributeError: 'module' object has no attribute 'getdefaultlocale' # d:\Python25\lib\warnings.pyc matches d:\Python25\lib\warnings.py import warnings # precompiled from d:\Python25\lib\warnings.pyc # d:\Python25\lib\linecache.pyc matches d:\Python25\lib\linecache.py import linecache # precompiled from d:\Python25\lib\linecache.pyc Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. import wx # directory D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx # D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\__init__.pyc matches D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\__init__.py import wx # precompiled from D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\__init__.pyc # D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\__version__.pyc matches D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\__version__.py import wx.__version__ # precompiled from D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\__version__.pyc # D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.pyc matches D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py import wx._core # precompiled from D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.pyc import wx._core_ # dynamically loaded from D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core_.pyd # d:\Python25\lib\new.pyc matches d:\Python25\lib\new.py import new # precompiled from d:\Python25\lib\new.pyc import wx.locale # directory D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\locale import wx.locale # precompiled from D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\locale\__init__.pyc Traceback (most recent call last): File "./test.py", line 3, in from wx import xrc File "D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\__init__.py", line 45, in from wx._core import * File "D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 14473, in default = locale.getdefaultlocale()[1] AttributeError: 'module' object has no attribute 'getdefaultlocale' # clear __builtin__._ # clear sys.path # clear sys.argv # clear sys.ps1 # clear sys.ps2 # clear sys.exitfunc # clear sys.exc_type # clear sys.exc_value # clear sys.exc_traceback # clear sys.last_type # clear sys.last_value # clear sys.last_traceback # clear sys.path_hooks # clear sys.path_importer_cache # clear sys.meta_path # restore sys.stdin # restore sys.stdout # restore sys.stderr # cleanup __main__ # cleanup[1] locale # cleanup[1] wx.__version__ # cleanup[1] encodings # cleanup[1] nt # cleanup[1] zipimport # cleanup[1] warnings # cleanup[1] _codecs # cleanup[1] swig_runtime_data2 # cleanup[1] types # cleanup[1] _types # cleanup[1] signal # cleanup[1] linecache # cleanup[1] encodings.aliases # cleanup[1] exceptions # cleanup[2] copy_reg # cleanup[2] wx.locale # cleanup[2] os.path # cleanup[2] errno # cleanup[2] ntpath # cleanup[2] UserDict # cleanup[2] new # cleanup[2] stat # cleanup[2] codecs # cleanup[2] wx._core_ # cleanup[2] os # cleanup sys # cleanup __builtin__ # cleanup ints: 536 unfreed ints in 10 out of 10 blocks # cleanup floats: 12 unfreed floats in 1 out of 1 block