2

I recently ran the 10.1 sp1 and my scripts stopped working. I can't even right click on the scripts and check properties without the following popping up:

InitializeParameters Syntax Error: Runtime error Traceback (most recent call last): File “#ANNOBO2.InitializeParameters.py”, line 1, in module File “d:\arcgis\desktop10.1\arcpy\arcpy\__init__.py”, line24, in module From arcpy.toolbox import* File “d:\arcgis\desktop10.1\arcpy\arcpy\toolbox.py”, line 485, in <module> From management import ExportTileCache as ExporttileCache_management ImportError: cannot import name ExportTileCache 

I did a little digging and found all the tools in python script in the management.py. What was missing was the scripts for the Tile Cache toolset. Not sure what happened when I installed sp1 but now I just want it fixed.

Any help would be greatly appreciated.

Currently using Python 2.7

I'll look and see if there are any remnants of older python on my system. If not I'll try to reinstall everything.

2
  • Which version of Python are you using? Commented Nov 14, 2012 at 19:59
  • I've got 10.1 SP1 installed and I can import arcpy with no errors. It seems like your SP1 install didn't update your arcpy folders, or you're accidentally calling an old Python version. (I get the same errors above when I try to import arcpy in Python v2.4) Commented Nov 14, 2012 at 20:39

1 Answer 1

1

Thank you for your help Mintx. I had 2 versions of python on my computer. I removed both then, jsust to be thorough, I also uninstalled sp1. Then I used to original install disk and re-installed python and ran sp1 again. Everything works fine now. Looks like it was pointing to an older version of python after all. Thanks again.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.