I just downloaded the rpm for Python and installed. I get the following error
when trying to run idle:
# ./idle.py
Failed to load extension 'AutoIndent'
Traceback (innermost last):
File "./EditorWindow.py", line 536, in load_standard_extensions
self.load_extension(name)
File "./EditorWindow.py", line 546, in load_extension
mod = __import__(name, globals(), locals(), [])
File "/usr/local/ActivePython-2.0/Tools/idle/AutoIndent.py", line 38, in ?
import PyParse
File "/usr/local/ActivePython-2.0/Tools/idle/PyParse.py", line 116
if type(str) == type(u""):
^
SyntaxError: invalid syntax
Traceback (innermost last):
File "./idle.py", line 12, in ?
PyShell.main()
File "./PyShell.py", line 747, in main
shell = PyShell(flist)
File "./PyShell.py", line 312, in __init__
self.auto = self.extensions["AutoIndent"] # Required extension
KeyError: AutoIndent
I am running RedHat 6.2, kernel 2.2.14-5.0. Thanks.
Regards,
Jeff Stephens
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython