You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2021/08/23 12:00:06 UTC

[jira] [Closed] (FLINK-23922) -pyexec is not working correctly

     [ https://issues.apache.org/jira/browse/FLINK-23922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler closed FLINK-23922.
------------------------------------
    Fix Version/s:     (was: 1.14.0)
       Resolution: Invalid

There's a separate flag to control the executable on the client.

> -pyexec is not working correctly
> --------------------------------
>
>                 Key: FLINK-23922
>                 URL: https://issues.apache.org/jira/browse/FLINK-23922
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Python, Client / Job Submission
>    Affects Versions: 1.14.0
>            Reporter: Chesnay Schepler
>            Priority: Major
>
> Pointing pyflink to specific python interpreter via the -pyexec CLI argument does not seem to work properly:
> {code}
> 2021-08-23 13:45:30,626 INFO  CliFrontend  [] -  Program Arguments:
> 2021-08-23 13:45:30,630 INFO  CliFrontend   [] -     run
> 2021-08-23 13:45:30,630 INFO  CliFrontend  [] -     -pyexec
> 2021-08-23 13:45:30,630 INFO  CliFrontend  [] -     python3
> 2021-08-23 13:45:30,631 INFO  CliFrontend  [] -     --python
> 2021-08-23 13:45:30,632 INFO  CliFrontend  [] -     examples/python/table/batch/word_count.py
> ...
> 2021-08-23 13:52:17,793 DEBUG CliFrontend  [] - Effective configuration after Flink conf, custom commandline, and program options: {..., python.executable=python3, ...}
> ...
> 2021-08-23 13:52:18,496 INFO  PythonDriver [] - RuntimeError: Python versions prior to 3.6 are not supported for PyFlink [sys.version_info(major=2, minor=7, micro=18, releaselevel='final', serial=0)].
> {code}
> {code}
> $ python3 --version
> Python 3.8.5
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)