Aman Gupta
Aman Gupta

Reputation: 21

NiFi Processor Issue

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

Upvotes: 0

Views: 55

Answers (1)

tonykoval
tonykoval

Reputation: 1230

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

Upvotes: 0

Related Questions