I'm running StreamSets in a docker on CentOS. Trying to import a python package in Jython, it returns the following error:
SCRIPTING_05 - Script error while processing record: javax.script.ScriptException: ImportError: No module named pandas in <script> at line number
Here is the code within Jython module to import my package:
import sys
sys.path.append('/path_to_my/python2.7/site-packages')
import pandas
note: Since I'm running StreamSets in a docker, I already made sure my docker has access to /path_to_my/python2.7/site-packages