NiFi Processor Issue

48 views Asked by At

In Nifi “ExecuteScript” processor. When the python script (running from “ExecuteScript” processor) trying to import “unidecode” module throwing error saying “No module found” and the “unidecode” module is installed for Python 2.x on Nifi Server.

Will this work on python 3 or do we require to use different processor.

I tried to resolve a error

1

There are 1 answers

0
tonykoval On

Check the documentation of the processor ExecuteScript

The engine listed as "python" in the list of available script engines is actually Jython, not Python. When using Jython, you cannot import pure (CPython) modules such as pandas