I recently installed regular Python on my workstation in addition to ArcGIS 10.2. Based on various things I found online, it seemed like the consensus was to install the full Python, because there are some libraries that ArcGIS's version of Python can't access. I am a Python noob so am trying to learn as I go. I've surely messed something up, but I don't know how to fix it!
I have been getting variations of this error in ArcMap:
>>> import numpy Runtime error Traceback (most recent call last): File "<string>", line 1, in <module> File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\__init__.py", line 24, in <module> from arcpy.toolbox import * File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\toolbox.py", line 342, in <module> from management import Graph, GraphTemplate File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\management.py", line 22, in <module> import _management File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\_management.py", line 14, in <module> import _graph File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\_graph.py", line 27, in <module> import numpy ImportError: No module named numpy`
I followed the directions at this link to set the path variable for Python to the specified library folder in Windows. It worked and I was able to use the tool that I needed.
When I opened the .mxd that I'm currently working on, which is an Arch E size, the layout board was letter-sized with the data frame being the Arch E size. When I checked under the print settings, the only page size shown for the plotter was letter size.
When I removed the environment variable, my map document was "fixed" and my paper sizes were back.
I don't have any other Python folders in the location that the article mentions,
C:\Python27\ArcGIS10.2\Lib\site-packages. I'd like to be able to use the full install of Python, but if I have to, I can uninstall it. I didn't have this NumPy error before installing Python, so my guess is that I overwrote something I shouldn't have. How should I go about trying to fix this?