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

Chesnay Schepler updated FLINK-23922:
-------------------------------------
    Fix Version/s: 1.14.0

> -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
>             Fix For: 1.14.0
>
>
> 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)

Reply via email to