Trying to do anything in the Python shell within ArcGIS 10.2 and it just crashes once I hit enter after writing code, no matter what I do. I've tried to uninstall, deauthorize, reinstall, re-authorize, hoping it would repair, but it still crashes.
On a similar note (not sure if they're connected), I can not import arcpy outside of ArcGIS, whether it's in the 2.7.3 shell or WING IDE. It prompts that:
raise TypeError("This object does not support enumeration")
TypeError: This object does not support enumeration
I don't understand any of this, I've always had an issue trying to import arcpy, I don't get it. I thought it was as simple as updating the Python paths to the arcpy library. Any help or suggestions?
Here's the result of sys.path:
['', 'c:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy', 'C:\', 'c:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\gdal', 'C:\WINDOWS\SYSTEM32\python27.zip', 'c:\Python27\ArcGIS10.2\DLLs', 'c:\Python27\ArcGIS10.2\lib', 'c:\Python27\ArcGIS10.2\lib\plat-win', 'c:\Python27\ArcGIS10.2\lib\lib-tk', 'c:\Python27\ArcGIS10.2', 'c:\Python27\ArcGIS10.2\lib\site-packages', 'C:\Program Files (x86)\ArcGIS\Desktop10.2\bin', 'C:\Program Files (x86)\ArcGIS\Desktop10.2\ArcToolbox\Scripts', 'c:\Python27\ArcGIS10.2\lib\site-packages\win32', 'c:\Python27\ArcGIS10.2\lib\site-packages\win32\lib', 'c:\Python27\ArcGIS10.2\lib\site-packages\Pythonwin']