Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

ExecuteStreamCommand with Anaconda Environment


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



Re: ExecuteStreamCommand with Anaconda Environment

@Ki Mu

Please refer this answer.

Don't have an account?
Coming from Hortonworks? Activate your account here