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.

...

Code Block
languagetext
titleWindows Command Prompt
mkdir %APPDATA%\pip
pushd %APPDATA%\pip
(echo [global] >& pip.ini
echo cert=%USERPROFILE%\.certificates\DOIRootCA2.cer) >>> %APPDATA%\pip\pip.ini
popd

3) Configure Anaconda To Work with ArcGIS

...

  • IMPORTANT - Test and debug this script by running it from python.exe for each of your environments. (See examples in the script header.)
  • Place Create a user-specific site packages folder and place the script in your user site packages folder with the folder with the name usercustomize.py
    The user site-packages folder path can be found with:  python -m site --user-site
    Usually:  C:\Users\username\AppData\Roaming\Python\Python27\site-packages (ArcGIS Desktop)
           C:\Users\username\AppData\Roaming\Python\Python34\site-packages (ArcGIS Pro, Python35 for Pro 2.0)

     

    Code Block
    languagetext
    titleCommand prompt
    :: Python 2.7
    mkdir %APPDATA%\Python\Python27\site-packages
    copy usercustomize.py %APPDATA%\Python\Python27\site-packages
    :: Python 3.4
    mkdir %APPDATA%\Python\Python34\site-packages
    copy usercustomize.py %APPDATA%\Python\Python34\site-packages

Testing and Troubleshooting

...