…
>>
>>
>>
>> Oh, yes, we also had to link Python bin:
>>
>>
>>
>> ldconfig /usr/lib
>>
>> ln -s /usr/bin/python3 /usr/bin/python
>>
>>
>>
>> Classic trickery.
>>
>>
>>
>> Nix,
>>
>>
>&g
*Date: *Wednesday, May 14, 2025 at 1:09 PM
> *To: *Nikola Milutinovic , user@flink.apache.org
>
> *Subject: *Re: Python based User defined function on Flink 1.19.1
>
> Hi there
>
>
>
> Got it build :)
>
>
>
> I installed python3-pip in addition to the java - headless
Hmm, lemme see…
Oh, yes, we also had to link Python bin:
ldconfig /usr/lib
ln -s /usr/bin/python3 /usr/bin/python
Classic trickery.
Nix,
From: George
Date: Wednesday, May 14, 2025 at 1:09 PM
To: Nikola Milutinovic , user@flink.apache.org
Subject: Re: Python based User defined function on
Hi there
Got it build :)
I installed python3-pip in addition to the java - headless version, then
installed the package globally and then did the clean up.
I am however getting the below now.
it seems to be looking for python from the flink side and not python3
```
flink@jobmanager:/sql/prompus
Hi Nikola
Correct on the assumption that I'm working on ARM, MBP M1.
So ye i can add the -headless to my image build.
The pip install it's in a total different phase though, don't install the
packages ... currently as part of the base image, but might need to move it.
let me have a look. will ad
Hi George.
We saw the same problem, running Apache Flink 1.19 and 1.20 images. The cause
is that Flink image provides a JRE and you need JDK to build/install PyFlink.
And, oddly enough, I think it was only on ARM64 images. Amd64 was OK, I think.
So, Mac M1, M2, M3…
Our Docker file for building