Import error: arcgisscripting

2172
2
08-03-2018 09:50 AM
MarisaEarll
New Contributor

I am running ArcGIS desktop 10.5 with python 2.7.  I am trying to run a script that imports modules: string, os, sys, arcpy, and I keep getting the following error:  

File "C:\Anaconda2\arcpy\geoprocessing\_base.py", line 14, in <module>     

import arcgisscripting

ImportError: No module named arcgisscripting

I have double checked the pathways and everything is be pointing to the correct place.  It seems like this is a common error, but I can't seem to find any solutions online.  Please advise

0 Kudos
2 Replies
DanPatterson_Retired
MVP Emeritus

you must have different installations of python.  Anaconda wasn't used for the arcmap installation.  It should reside in a python folder which has Arcgisxx in its path (or ArcMap, can't remember).

I would remove other versions of python or you will have to fix the paths that direct to the python.exe which arcmap  uses

DanPatterson_Retired
MVP Emeritus

any update?

0 Kudos