EGIS wiki space (here)
Miniconda only includes the minimal Python (the main distribution now includes R and many other packages and is very large).
Download MiniConda for Python 2.7
Download links: ( x32 | x64 ) (save do not run link)
The 32-bit version works with ArcGIS Desktop (which is 32-bit)
The 64-bit version is optional, but required to use Anaconda with ArcGIS background processing (and Pro)
Run the .exe installers
Select install for a single
user (Not "All Users")
Set up the console shortcuts
Go to each of your anaconda folders and set up Start menu shortcuts for Anaconda
Python 2.7.11 has a registry conflict with ArcGIS Desktop 10.3. This must be fixed before you continue:
cd D:\Users\cprice\Anaconda32\Scripts conda install console_shortcut cd D:\Users\cprice\Anaconda64\Scripts conda install console_shortcut
actiAt this point, you will have full Anaconda version of the python environment a nice Anaconda setup that's spiffy and new and totally useless with ArcMap.
Open ArcMap and its Python window, and enter these commandsThe critical modules for compatibility can be found your version of ArcGIS from a command line:
>>> 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')
an Anaconda environment
for use with ArcGIS
The critical modules for compatibility are the three above. We'll also include a few others other modules that we know are shipped in the ArcGIS 10.2.2's Python stack.
Since this new custom environment is not the Anaconda default, you need to let it know that's what you want to use. Then, you'll ask it to tell you what's installed. So, at the Anaconda Command Prompt, type:
Open an Anaconda command window and load the virtual environment
C:\Users\cprice> conda info --envs # conda environments: # arc1022 D:\Users\cprice\Anaconda32\envs\arc1022 root * D:\Users\cprice\Anaconda32 D:\Users\cprice>activate arc1022 Activating environment "arc1022"... [arc1022] D:\Users\cprice>condacprice> conda list # packages in environment at D:\Users\cprice\AnacondaAnaconda32\envs\arc1022: # dateutil 2.4.1 py27_0 matplotlib 1.3.0 np17py27_0numpy np17py27_0 numpy 1.7.1 py27_3 pip 8.1.1 py27_1 pyparsing 1.5. [arc1022] D:\Users\cprice>python Python6 py27_0 pyside 1.2.1 py27_0 python 2.7.5 |Continuum Analytics, Inc.| (default, Jul 1 2013, 12:41:55) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> 2 python-dateutil 2.4.1 <pip> pytz 2016.4 py27_0 setuptools 21.2.1 py27_0 six 1.10.0 py27_0 wheel 0.29.0 py27_0 xlrd 0.9.4 py27_0 xlwt 1.0.0 py27_0
You can add more packages using conda install, but make sure you specify version numbers for these that won't change the environment's version of python or numpy (or ArcGIS will not be able to use that environment anymore).
This can most easily be done (personal opinion) with a Python startup script
python -m site --user-site