Support Questions

Find answers, ask questions, and share your expertise

ExecuteStreamCommand with Anaconda Environment

New Contributor

Hi all,

i would like to execute a python script which manipulates a .csv or a .json file.

in the python file i am using pandas function pd.read_json to read a json file and then to export another one.

when this script is ready, i want nifi to get the new json-file and do something else without python (this is already working).

the error in nifi is:"no module named pandas"

is it possible to use libraries like sklearn and pandas?

what is the best practice here?

thanks for your help

--k

1 REPLY 1

@Ki Mu

Please refer this answer.