Page tree

Versions Compared


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