08-02-2018 12:15 AM
Hi Snaplogic team,
I am trying to call python script (using pandas library) in snaplogic. Python script is working fine from python idle . When I am calling it using snaplogic , it is showing error.does it require any installation. Kindly reply ASAP or suggest what should be done
script.txt (140 Bytes)!
02-20-2019 08:32 AM
Hi Rashmi ,
you can call external scripts using the Script snap and importing the jython equivalent libraries into the plex. This is supported only if the client is running a groundplex (Not cloudplex).
06-11-2019 09:53 PM
I am running a ground plex.
Can you please suggest me a way how i can install it on ground plex ?
06-19-2019 02:03 PM
sys.path.append() can be used to import external jars (Java / Jython) to a script that you may have in place.
Steps:
import sys
.
.
sys.path.append(’/opt/snaplogic/<DIR_FOR_EXT_JARS>/sample.jar’)
.
.
Note: The above method would work only for a “Script” snap based pipeline execution(s) done on Groundplex node(s).
06-20-2019 09:31 PM
To use Pandas and other Python libraries, we recommend Remote Python Script Snap which is part of ML Core Snap Pack. To use this Snap, it is required to have Remote Python Executor
(RPE) installed. The RPE can be installed on the same node as JCC or somewhere else where JCC can reach. We also have Jupyter Notebook Integration which let you code / validate pipeline in Jupyter Notebook and publish the script back to SnapLogic pipeline.
We also have some tutorials that use this Snap which are in here.
Below is the list:
Handwritten Digit Recognition using Convolutional Neural Networks
Iris Flower Classification using Neural Networks
Natural Language Processing using TextBlob
Speech Recognition with DeepSpeech
Image Recognition using Inception-v3