[ https://issues.apache.org/jira/browse/FLINK-17114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17083261#comment-17083261 ]
Dian Fu commented on FLINK-17114: --------------------------------- Merged to release-1.10 via 6227f0815e9db9956f1d9e1d7548d9c8efe8d895 > When the pyflink job runs in local mode and the command "python" points to > Python 2.7, the startup of the Python UDF worker will fail. > -------------------------------------------------------------------------------------------------------------------------------------- > > Key: FLINK-17114 > URL: https://issues.apache.org/jira/browse/FLINK-17114 > Project: Flink > Issue Type: Bug > Components: API / Python > Affects Versions: 1.10.0 > Reporter: Wei Zhong > Assignee: Wei Zhong > Priority: Major > Labels: pull-request-available > Fix For: 1.10.1, 1.11.0 > > Time Spent: 40m > Remaining Estimate: 0h > > When the PyFlink job runs in local mode and the command "python" points to > Python 2.7, the startup of the Python UDF worker will fail because "python" > is the default interpreter of the Python UDF worker. For this case we need to > set the default value of "python.executable" to `sys.executable` i.e. the > python interpreter which launches the job. -- This message was sent by Atlassian Jira (v8.3.4#803005)