How to run a python script with dependencies in a virtual environment in Nifi?
问题 Is there a way in Nifi to run a python script which has modules imported from a different folder, requirements specified in a pipfile and has arguments to pass? In short, how to execute a python script which usually runs in my virtual environment using Nifi? The end goal for me is to pick up a file using Get File and post it to API. I tried execute process, execute streamcommand processors. 回答1: To perform follow-on processing on the flowfile using Python, you can use the ExecuteStreamCommand