PyFlink 1.15 DocumentationLOCALLY 1. Install dependency requirements python3 -m pip install -r dev/requirements.txt 2. Conda install pandoc conda install pandoc 3. Build the docs python3 setup.py build_sphinx 4. Open the pyfl to 3.8 You could check your Python version as following: 3 pyflink-docs, Release release-1.15 python3 --version Create a Python virtual environment Virtual environment gives you the ability to isolate a virtual environment using virtualenv To create a virtual environment using virtualenv, run: python3 -m pip install virtualenv # Create Python virtual environment under a directory, e.g. venv virtualenv0 码力 | 36 页 | 266.77 KB | 1 年前3
PyFlink 1.16 DocumentationLOCALLY 1. Install dependency requirements python3 -m pip install -r dev/requirements.txt 2. Conda install pandoc conda install pandoc 3. Build the docs python3 setup.py build_sphinx 4. Open the pyfl to 3.8 You could check your Python version as following: 3 pyflink-docs, Release release-1.16 python3 --version Create a Python virtual environment Virtual environment gives you the ability to isolate a virtual environment using virtualenv To create a virtual environment using virtualenv, run: python3 -m pip install virtualenv # Create Python virtual environment under a directory, e.g. venv virtualenv0 码力 | 36 页 | 266.80 KB | 1 年前3
Hadoop 迁移到阿里云MaxCompute 技术方案SQL,传输数据。 6.3 迁移评估报告 6.3.1 迁移评估信息收集 6.3.1.1 使用 MMA Agent 自动采集 Hive Metadata 1. 工具运行环境要求:JDK8.0、Python3 以上版本。 2. 解压工具包:odps-data-carrier.zip,工具目录结构如下: Alibaba Cloud MaxCompute 解决方案 23 其中,bin 4、5 步 Alibaba Cloud MaxCompute 解决方案 50 7.1.7 运行 odps_ddl_runner.py 生成 odps 表和分区 执行:python3 odps-data-carrier/bin/odps_ddl_runner.py --input processed 可以看到,这个命令自动生成了对应的表和 partition,之后我们用 MaxCompute 解决方案 51 可以看到,分区也已经建好了 7.1.8 运行 hive_udtf_sql_runner.py,将 hive 的数据同步到 odps 执行:python3 odps-data-carrier/bin/hive_udtf_sql_runner.py --input_all processed/ 用 odpscmd 工具验证数据是否被上传到 mc:0 码力 | 59 页 | 4.33 MB | 1 年前3
以外部模式部署OpenShift Container Storage节点上运行以下命令,以查看可用参数的列表: # python3 ceph-external-cluster-details-exporter.py --help 重要 重要 如果在 Red Hat Enterprise Linux 7.x (RHEL 7.x) 集群中部署了 Red Hat Ceph Storage 4.x 集群,则使用 python 而不是 python3。 注意 注意 您也可以从 MON b. 要从 RHCS 集群检索外部集群详情,请运行以下命令 # python3 ceph-external-cluster-details-exporter.py \ --rbd-data-pool-name[optional arguments] 例如: # python3 ceph-external-cluster-details-exporter 0 码力 | 29 页 | 738.90 KB | 1 年前3
BAETYL 1.0.0 Documentationsupport reading contexts such as context[‘functionName’]. An example is shown below: #!/usr/bin/env python3 #-*- coding:utf-8 -*- """ module to say hi """ def handler(event, context): """ function The operating system used in this test is Ubuntu 18.04 The function runtime used in this test is Python3 The MQTTBox is used as MQTT client in this test NOTE: You can install Baetyl from source. Please directly, and for an none dictionary format message, convert it to string and return. #!/usr/bin/env python3 # -*- coding: utf-8 -*- def handler(event, context): result = {} if isinstance(event, dict):0 码力 | 135 页 | 15.44 MB | 1 年前3
BAETYL 1.0.0 Documentationsupport reading contexts such as context[‘functionName’]. An example is shown below: #!/usr/bin/env python3 #-*- coding:utf-8 -*- """ module to say hi """ def handler(event, context): """ function handler operating system used in this test is Ubuntu 18.04 • The function runtime used in this test is Python3 • The MQTTBox is used as MQTT client in this test NOTE: You can install Baetyl from source. Please directly, and for an none dictionary format message, convert it to string and return. #!/usr/bin/env python3 # -*- coding: utf-8 -*- def handler(event, context): result = {} if isinstance(event, dict): result['msg']0 码力 | 145 页 | 9.31 MB | 1 年前3
BAETYL 0.1.6 Documentationsupport reading contexts such as context[‘functionName’]. An example is shown below: #!/usr/bin/env python3 #-*- coding:utf-8 -*- """ module to say hi """ def handler(event, context): """ function handler directly, and for an none dictionary format message, convert it to string and return. #!/usr/bin/env python3 # -*- coding: utf-8 -*- def handler(event, context): result = {} if isinstance(event, dict): result['msg'] the “A” command from the localhub service. More detailed contents are as follows: #!/usr/bin/env python3 # -*- coding: utf-8 -*- import requests def handler(event, context): """ data: {"action": "A"}0 码力 | 120 页 | 7.27 MB | 1 年前3
BAETYL 0.1.6 Documentationsupport reading contexts such as context[‘functionName’]. An example is shown below: #!/usr/bin/env python3 #-*- coding:utf-8 -*- """ module to say hi """ def handler(event, context): """ function directly, and for an none dictionary format message, convert it to string and return. #!/usr/bin/env python3 # -*- coding: utf-8 -*- def handler(event, context): result = {} if isinstance(event, dict): the “A” command from the localhub service. More detailed contents are as follows: #!/usr/bin/env python3 # -*- coding: utf-8 -*- import requests def handler(event, context): """ data: {"action":0 码力 | 119 页 | 11.46 MB | 1 年前3
更新OpenShift Data Foundationdetails-exporter.py,更新外部 Red Hat Ceph Storage 存储集群的权限上限。您可能需要要求您 的 Red Hat Ceph Storage 管理员来执行此操作。 # python3 ceph-external-cluster-details-exporter.py --upgrade 用户的更新权限被设置为: client.csi-cephfs-node key: A rbd 3. 运行之前下载的 python 脚本,再保存从外部 Red Hat Ceph Storage 存储集群生成的 JSON 输 出。 a. 运行之前下载的 python 脚本: # python3 ceph-external-cluster-details-exporter.py --rbd-data-pool-name--monitoring-endpoint 0 码力 | 18 页 | 239.14 KB | 1 年前3
PyTorch OpenVINO 开发实战系列教程第一篇行就可以完成安装。首先是安装 Python 语言包支持,当前 Pytorch 支持的 Python 语言版本与系统对应列表如下: 表 -1(参考 Pytorch 官网与 Github) 系统 Python3�6 Python3�7 Python3.8 Linux CPU/GPU 支持 支持 支持 Windows CPU/GPU 支持 支持 支持 Linux (aarch64) CPU 支持 支持 支持0 码力 | 13 页 | 5.99 MB | 1 年前3
共 78 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













