Created 12-28-2023 09:20 PM
Hello!
I am trying to install Nifi 2.0.0 M1 on Ubuntu 20.04. I downloaded Nifi from the official website and removed all HTTPS-related configurations. When I run Nifi with Python disabled, it works fine.
However, when I enable Python, the following error occurs, and I'm not sure how to fix it. 😟 Does anyone have any knowledge or experience with this? (Python 3.10 is installed.)
Created 12-29-2023 05:42 AM
Hi @Heeya8876 ,
I ran into the same situation , what worked for me is changing the setting in the
nifi.properties
from
nifi.python.command=pythons
to
nifi.python.command=python
Also make sure the python venv package is installed on your machine :
python -m venv
If that helps please accept solution
Thanks
Created on 12-29-2023 09:36 AM - edited 12-29-2023 09:39 AM
@Heeya8876 , both @SAMSAL and I have recently gone through the adventures of getting 2.0.0-M1 to run with the Python extension enabled. Here are some findings so far on the Linux side of things.
def __init__(self, **kwargs): super().__init__(**kwargs)
@SAMSAL has additional insight on getting it to start up on Windows
Created 12-29-2023 05:42 AM
Hi @Heeya8876 ,
I ran into the same situation , what worked for me is changing the setting in the
nifi.properties
from
nifi.python.command=pythons
to
nifi.python.command=python
Also make sure the python venv package is installed on your machine :
python -m venv
If that helps please accept solution
Thanks
Created on 01-13-2024 05:51 AM - edited 01-13-2024 05:52 AM
Oh, I successfully managed to integrate and run NiFi 2.0 with Python on Windows using the method you suggested. Thank you so much!
Created on 12-29-2023 09:36 AM - edited 12-29-2023 09:39 AM
@Heeya8876 , both @SAMSAL and I have recently gone through the adventures of getting 2.0.0-M1 to run with the Python extension enabled. Here are some findings so far on the Linux side of things.
def __init__(self, **kwargs): super().__init__(**kwargs)
@SAMSAL has additional insight on getting it to start up on Windows
Created 01-13-2024 05:51 AM
Hello! I followed the instructions you provided, and the problem has been resolved. Thank you so much for your help
Created 01-08-2024 05:36 PM
@Heeya8876 Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.
Regards,
Diana Torres,