How to Import 'Other' (i.e. non-standard) libraries to make their methods available in eval nodes? #169
Unanswered
AndrewBuiltThis
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The specific question relates to the GIS python library, arcpy. I want to model a relatively simple proof of concept wherein a user can enter their credentials and target database (sql) and an evaluation node organizes the provided inputs to execute an arcpy method.
However, when invoking the library, I receive a 'Product is Not Initialized' error, which occurs when the arcpy library isn't loaded in "at runtime." Aside from using an external script process (LINK in/LINK out?), is there something I am missing or a workflow that I am not privy to? Ultimately I am looking to invoke the aforementioned library when the ryven 'environment' gets initialized so the resultant 'arcpy' methods are readily available through a single 'master/parent' import statement.
Any and all assistance is welcome! I am just getting started with Ryven so I apologize if this is an amateurish question, but feel free to ask for any/all clarifying information.
Beta Was this translation helpful? Give feedback.
All reactions