[GIS] Button in ArcGIS add-in extension shows as “Missing”

add-inarcgis-desktoppython-addin

I do not understand why my add-in toolbar and button shows up as "Missing" when I open ArcMap. I am not sure whether this is an issue with ArcMap 10.3 or whether I did anything wrong. Have anyone ever encountered this before?

enter image description here

Best Answer

Usually I see this if the Windows environmental variables aren't set up correctly.

Try:

  • Start command prompt (go to Start Menu ---> Run ---> type cmd)
  • Type python, and then import arcpy (shown below is what you want to see)

Does everything work without errors?

enter image description here


If you get an error, then try:

  • Right click on My Computer and go to Properties, then click on the Advanced system settings, and then on the Advanced tab click on the Environment Variables button at the bottom.

  • Next, in the lower part of the window find the Variable that says Path and double click on it, and makes sure that the following paths are at the front of the Variable value list:

     C:\Python27\ArcGIS10.2;C:\Python27\ArcGIS10.2\Scripts;C:\Python27\ArcGIS10.2\Lib;
    

(Verify that these paths exist. Also, be sure to alter the 10.2 to your ArcGIS version.)

  • Restart your computer. After restarting, try doing the python and import arcpy from the Command Prompt again.

enter image description here


Otherwise, it may be version related like @Chad Cooper suggested. This is pretty easy to fix. Open the .esriaddin file with 7zip, and then open the config.xml file.

enter image description here

In the config.xml file look for:

<Target name="Desktop" version="10.1" />

Change the version to match your current install. Save the edits to the config.xml file, and when it prompts if you'd like to update it in the archive, click OK.

Related Question