Closed geographika closed 7 years ago
Thanks for raising this! Closed by #6
@JamesRamm - thanks for the project!
I posted my current approach to handling this on your question at http://gis.stackexchange.com/a/234417/186
Quick question - I presume numpy (at a minimum) is installed separately in the alternative environment? Otherwise there are import errors. I can add this to the docs, or look at optionally including all arcpy Python dependencies (I've hit missing dateutil before with arcpy in a venv).
@geographika Yes; archook only adds the arcpy libraries to the current python environment (it does nothing with other libraries in the python env installed by arcgis). Therefore the user must have the correct version of numpy in their python environment (I think the official requirement for arcpy is some versions behind the current numpy release). Documenting numpy as a requirement could be useful. I wasnt aware that arcpy is dependent on dateutil - I dont think Ive seen it documented it anywhere?
To recreate, run the following when
C:\Program Files (x86)\ArcGIS\Desktop10.4\bin64
is also on the machine:Results in: