[ https://issues.apache.org/jira/browse/NIFI-12514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Handermann resolved NIFI-12514. ------------------------------------- Fix Version/s: 2.0.0 Assignee: Bob Paulin Resolution: Fixed > NiFi on Windows fails to start with Python Extensions Enabled > ------------------------------------------------------------- > > Key: NIFI-12514 > URL: https://issues.apache.org/jira/browse/NIFI-12514 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Affects Versions: 2.0.0-M2 > Environment: Hp Zbook 17 G4 i7 1Tb SSD 40GB RAM > Windows 11 > Adoptium jdk-21.0.1+12 > Python(Microsoft) 3.11.7 > Reporter: oyeyemi > Assignee: Bob Paulin > Priority: Major > Fix For: 2.0.0 > > Attachments: nifi-app.log, nifi-bootstrap.log > > Time Spent: 3h 20m > Remaining Estimate: 0h > > I enabled Python Extension for Nifi in nifi.properties file: > *nifi.python.command=python3* > Nifi started and shutdown due to several errors relation to Python. So after > checking the nifi-app.log file i noticed nifi was pointing to this > "controller" path which does not exist: > *Caused by: java.io.IOException: Cannot run program > "C:\nifi_1\nifi-2.0.0-M1-bin\nifi-2.0.0-M1\.\work\python\controller\bin\python": > CreateProcess error=2, The system cannot find the file specified* > The path that exists on Windows has "Scripts" not "bin" > C:\nifi_1\nifi-2.0.0-M1-bin\nifi-2.0.0-M1\.\work\python\controller\Scripts\python" > so when i changed "Scripts" to "bin" i got different error: > java.lang.RuntimeException: Failed to start Python Bridge > Thank you. > Note: Attached are my nifi-app & bootstrap log files. -- This message was sent by Atlassian Jira (v8.20.10#820010)