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>
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
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