Confluence Retirement

In an effort to consolidate USGS hosted Wikis, myUSGS’ Confluence service is scheduled for retirement on January 27th, 2023. The official USGS Wiki and collaboration space is now SharePoint. Please migrate existing spaces and content to the SharePoint platform and remove it from Confluence at your earliest convenience. If you need any additional information or have any concerns about this change, please contact myusgs@usgs.gov. Thank you for your prompt attention to this matter.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A. Find the versions of numpy and matplotlib ArcGIS is using.

The critical modules for ArcGIS compatibility can be found determined from your version of ArcGIS from a the command line:.

(Or you can just look at the list below under B.)

Code Block
languagepy
C:\Users\jwpowell> C:\Python27\ArcGIS10.2\python.exe -c ^
"import sys, numpy, matplotlib;print(sys.version, numpy.__version__, matplotlib.__version__)"
('2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)]', '1.7.1', '1.3.0')
 

...

  1. Get to the Anaconda Command Prompt (Start > Search > Anaconda, pick each of your Anaconda startup shortcuts)
  2. Type (depending on Arc version):
    ArcGIS 10.2.2:  "conda create -n arc1022 python=2.7.5 numpy=1.7.1 matplotlib=1.3.0 pyparsing xlrd xlwt"
    ArcGIS 10.3.1:  "conda create -n arc1031 python=2.7.8 numpy=1.7.1 matplotlib=1.3.0 pyparsing xlrd xlwt"
    ArcGIS 10.4.1: "conda create -n arc1041 python=2.7.10 numpy=1.9.2 matplotlib=1.4.3  pandas=0.17.0 scipy=0.16.0 pyparsing xlrd xlwt"
    ArcGIS Pro 1.2 (x64 only!)"conda create -n arcpro12 python=3.4.3 numpy=1.9.3 matplotlib=1.4.3 pandas=0.17.0 scipy=0.16.0 pyparsing xlrd xlwt"
    (ArcGIS 10.4.1 and ArcGIS Pro 1.2 and later already include pandas and scipy in the arcgis stack)
  3. The conda tool will:

...