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.

...

To augment this virtual environment for use with arcpy, you don't want to try to copy all the ESRI stuff into your new directory. You just want to tell it where to find the ArcGIS installed components. To do this, you'll need to place a *.pth file w/in the Lib\site-packages subdirectory. We'll call it "zzArcGIS.pth" to be consistent w/similar instructions for using EPD w/ArcGIS. In the file, you'll need to put all the directories that ArcGIS uses to make arcpy work. The easiest way to get the not-small list of pathnames is to start ArcMap, type "import sys; sys.path", and copy the list into zzArcGIS.pth. Note that the file should look something like the following. 

...