I have been working in a 60 machine GIS lab recently, which had ArcGIS 10.2 installed on every machine and working properly. I was involved with the installation of some other GIS-related software that required Python 2.7 to be installed globally on each machine (in C:\Python27). We added that path to the PATH environment variable as usual. However, now running Raster Calculator in ArcMap results in an import error for numpy.
What is bizarre to me is that ArcGIS already has its own python installed inside of C:\Program Files (x86)\ArcGIS\etc..... which does indeed have numpy (I've checked). When I open ArcMap and use the python console,
import numpy works fine, which I take to mean that the python console is using the inside-of-arcgis Python installation, not the new global one.
The Raster Calculator numpy import error goes away by simply pip installing numpy into the new global Python.
Can anyone confirm that when it comes to raster calculator, ArcMap looks outside of the internal ArcGIS python and tries to use the global one?
If so, is there a good reason for this?
Is there something I am missing here?