Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-15908][docs] Add description of support 'pip install' to 1.9.x documents. #11076

Merged
merged 2 commits into from Feb 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 9 additions & 4 deletions docs/tutorials/python_table_api.md
Expand Up @@ -31,10 +31,15 @@ to running a Python Table API program.

## Setting up a Python Project

Firstly, you can fire up your favorite IDE and create a Python project and then
you need to install the PyFlink package. Please
see [Build PyFlink]({{ site.baseurl }}/flinkDev/building.html#build-pyflink)
for more details about this.
You can begin by creating a Python project and installing the PyFlink package.
PyFlink is available via [PyPI](https://pypi.org/project/apache-flink/) and can be easily installed using `pip`.

{% highlight bash %}
# install the latest 1.9 version of PyFlink
$ python -m pip install apache-flink==1.9.*
{% endhighlight %}

You can also build PyFlink from source by following the [development guide]({{ site.baseurl }}/flinkDev/building.html#build-pyflink).

## Writing a Flink Python Table API Program

Expand Down
11 changes: 9 additions & 2 deletions docs/tutorials/python_table_api.zh.md
Expand Up @@ -30,8 +30,15 @@ under the License.

## 创建一个Python Table API项目

首先,你可以使用你最熟悉的IDE,创建一个Python项目。然后,你需要安装PyFlink包,
请参考[构建PyFlink]({{ site.baseurl }}/zh/flinkDev/building.html#build-pyflink)了解详细信息。
首先,使用您最熟悉的IDE创建一个Python项目,并且安装PyFlink。
目前PyFlink已经上传至[PyPI](https://pypi.org/project/apache-flink/),可通过`pip`安装:

{% highlight bash %}
# 安装PyFlink 1.9的最新版本
$ python -m pip install apache-flink==1.9.*
{% endhighlight %}

如果您想从源码安装,请参考[构建PyFlink]({{ site.baseurl }}/zh/flinkDev/building.html#build-pyflink)了解详细信息。

## 编写一个Flink Python Table API程序

Expand Down