[
https://issues.apache.org/jira/browse/NIFI-12514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17827639#comment-17827639
]
ASF subversion and git services commented on NIFI-12514:
--------------------------------------------------------
Commit 495a7dd7f5b8cb2e365c25dcf4fbb37884ecdac3 in nifi's branch
refs/heads/main from Bob Paulin
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=495a7dd7f5 ]
NIFI-12514 Added Windows support for Python venv
This closes #8510
Signed-off-by: David Handermann <[email protected]>
> Nifi 2.0.0M1 cannot start after enabling Python Extension
> ---------------------------------------------------------
>
> 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
> Priority: Major
> 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)