awesome!  good luck

On Sat, Sep 28, 2024 at 4:27 PM David Gallagher <
[email protected]> wrote:

> 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
>
> On Sat, Sep 28, 2024 at 12:53 PM David Gallagher <
> [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]>
> *Sent:* Saturday, September 28, 2024 2:01 PM
> *To:* [email protected] <[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
>
> Thanks
> Joe
>
> On Sat, Sep 28, 2024 at 10:22 AM David Gallagher <
> [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
>
>

Reply via email to