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.

...

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

For example, pandas is a very helpful module for working with table manipulations - it s VERY fast compared to doing the same operations with ArcGIS tools.

Specifying python and numpy versions makes sure we get a compatible version of pandas will work seamlessly with arcpy/ArcGIS.Let's add the pandas module. Specifying python, numpy, and matplotlib versions makes sure the environment will still work with ArcGIS tools. 

conda install -n arc1022 python=2.7.5 matplotlib=1.3.0 numpy=1.7.1 pandas
...
The following NEW packages will be INSTALLED:
pandas: 0.13.0-np17py27_0 ### this version works with python 2.7 and numpy 1.7
... 

You can search for more packages available in conda with conda search.

You're not limited to adding only packages to which conda has access to your new environment. Here's an example on how to install a commonly desired GIS-related package (shapely) into a conda virtual environment using the python pip utility:

http://deparkes.co.uk/2015/01/29/install-shapely-on-anaconda/

...