Success with 3.11! Thanks, Joe - appreciate the assist! I can see env-creation-complete.txt in the work directory. ________________________________ From: Joe Witt <[email protected]> Sent: Saturday, September 28, 2024 4:01 PM To: [email protected] <[email protected]> Subject: Re: Nifi 2.0.0-M4: Python Processor relationships
Are you using the docker image or a plain install? What version of Python do you have? I believe it requires 3.11.something or newer. Thanks External ([email protected]<mailto:[email protected]>) Report This Email<https://protection.inkyphishfence.com/report?id=c2tvdXQtY2xldmVyLWRldmljZXMvZGdhbGxhZ2hlckBjbGV2ZXJkZXZpY2VzLmNvbS9hN2U2ODYwZWU2NWFlMDIxNDdiYWUwNDY2OGVlZWZjOS8xNzI3NTUzNzM5LjI4#key=d0314affc5fee1d6f7a072cd59ac32b0> FAQ<https://getskout.com/emailprotectionfaq/> Skout Email Protection<https://getskout.com/emailprotection/> Are you using the docker image or a plain install? What version of Python do you have? I believe it requires 3.11.something or newer. Thanks On Sat, Sep 28, 2024 at 12:53 PM David Gallagher <[email protected]<mailto:[email protected]>> wrote: I'm getting this error in the logs: 2024-09-28 15:50:30,496 INFO [Initialize TransformOpenskyStates] org.apache.nifi.py4j.PythonProcess Creating Python Virtual Environment ./work/python/extensions/TransformOpenskyStates/0.0.1-SNAPSHOT at org.apache.nifi.python.processor.PythonProcessorProxy.lambda$new$0(PythonProcessorProxy.java:78) Caused by: java.io.IOException: Failed to create Python Environment ./work/python/extensions/TransformOpenskyStates/0.0.1-SNAPSHOT: process existed with code 1 I can what appears to be a full environment in the work folder, though, so I don't know what's wrong. ________________________________ From: Joe Witt <[email protected]<mailto:[email protected]>> Sent: Saturday, September 28, 2024 2:01 PM To: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> Subject: Re: Nifi 2.0.0-M4: Python Processor relationships Dave Check out this tutorial. I just followed it as well and got that component working and then built another example off of it. https://devcenter.datavolo.io/tutorials/build-python-transform/#0<https://shared.outlook.inky.com/link?domain=devcenter.datavolo.io&t=h.eJwtzUFuwjAQheGrILNt7BCIHVhxlcEeEsMkg-xxqqri7sRqV2_xSf_7VSWRuuzUJPLKF2MCrh4XwaQDCKxMrCMbKcIpAmVzK5FC8_qRiZdGEiz5zmk2-1Z97dSzlvKTizSecMXUbLnoMZswAhGME6brn_yD9jwbcGgH2yLaHrDtDid32_Zk7YCId382B9e5vj-641l3Qz3CevRg1N9R5DrOEKmWKoWNlkL0_gC8a0iH.MEUCIDtcWdTT2PiJJTJmSP9Iy3oGeRuthJUV7bZc9cZLGEBuAiEAqsHFj5IzJFYqE8sXLZQawjbmHsLlxQpBG5MAgnD-_nM> Thanks Joe On Sat, Sep 28, 2024 at 10:22 AM David Gallagher <[email protected]<mailto:[email protected]>> wrote: Hi - I'm playing around with creating a native Python processor in M4. I've been able to get them to show up as new Processor options, but they don't have any Output relationships. /python/extensions is empty in M4, but I moved one of the extensions from M2 into the directory and same problem. I don't see anything obvious in the Python development docs. Is this a known issue? Thanks, Dave
