I'm running Python through Java's Scripting Engine. The basic hello world is working well, but it fails when I import pandas in the python script.
StringWriter stringWriter = new StringWriter();
ScriptContext scriptContext = new SimpleScriptContext();
scriptContext.setWriter(stringWriter);
ScriptEngineManager manager = new ScriptEngineManager();
ScriptEngine engine = manager.getEngineByName("python");
ImportError: No module named pandas
Is there a way to install it for Scripting Engine?
I have pandas on my machine installed through command line but that's not the python being used here.