python - AttributeError: 'module' object has no attribute 'ClassType' -
ok i've been trying type command: python ends spitting out:
traceback (most recent call last): file "c:\python27\lib\site.py", line 62, in <module> import os file "c:\python27\lib\os.py", line 398, in <module> import userdict file "c:\python27\lib\userdict.py", line 83, in <module> import _abcoll file "c:\python27\lib\_abcoll.py", line 70, in <module> iterable.register(str) file "c:\python27\lib\abc.py", line 107, in register if not isinstance(subclass, (type, types.classtype)): attributeerror: 'module' object has no attribute 'classtype'
i renamed types.py nottypes.py still giving me exact same message.
you've called else in sys.path
"types.py". rename it.
Comments
Post a Comment