SPE crash when open a py file

i am new to both Python & Panda. Under Windows i installed Python2.4.4–>wxPython2.6-win32-unicode-2.6.1.0-py24–>SPE-0.8.2.a-wx2.6.1.0-py24 in order. When i try to open a py file SPE crash and i have to Ctrl-Alt-Del to terminate. Output message is always something as:


File “C:\Python24\Lib\site-packages_spe\sm\wxp\stc.py”, line 67, in init
if path and path not in sys.path: sys.path.append(path)
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xd7 in position 34: ordinal not in range(128)

When i followed instructions from a thread in this forum to copy the C:\python24\Lib\site-packages to C:\Panda3D-1.3.2\python\Lib\site-packages then uninstall python2.4.4. SPE work normally under Panda’s Python. Someone know Why? How i can use SPE under original Python.

Now i found a solution just as what i done to Panda3D. Keep a copy of C:\Python24\Lib\site-packages folder somewhere else, uninstall SPE and wxPython, then copy folder back to C:\Python24\Lib, creat a shotcut of C:\Python24\pythonw.exe “C:\Python24\Lib\site-packages_spe\SPE.py”, double click start up the program and no problem to open a py file.

But still, i cann’t find out the reason. anyone tells me will be cheered.