本文档是 Apache Flink 的旧版本。建议访问 最新的稳定版本

环境安装

Environment Requirements

Note Python version (3.5, 3.6 or 3.7) is required for PyFlink. Please run the following command to make sure that it meets the requirements:

$ python --version
# the version printed here must be 3.5, 3.6 or 3.7

PyFlink has already been deployed to PyPi and can be installed as following:

$ python -m pip install apache-flink

You can also build PyFlink from source by following the development guide.