python - Types.py Error, Renaming issues, AttributeError -


recently i've been having trouble typing 'python' cmd. give me error saying:

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' 

someone told me rename file in sys.path, called types.py. renamed types.py in lib folder under python27 directory, , still hasn't changed. doing wrong here?

seems have created 1 file name "abc.py", if yes please rename. should work. :)


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -