DataflowRunner当前支持Python版本['3.6','3.7','3.8'],获得3.9.2(默认为28 2021,17:03:44)

问题描述 投票:0回答:1

我得到了

ERROR: No matching distribution found for apache-beam==2.36.0 Exception: Dataflow runner currently supports Python versions ['3.6', '3.7', '3.8'], got 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]. To ignore this requirement and start a job using an unsupported version of Python interpreter, pass --experiment use_unsupported_python_version pipeline option.
如何在Google Cloud Shell中降级Python版本?
    

记录的仅仅是:是的,建议使用
virtualenv
或某种环境处理程序。否则,很难处理各种内容所需的所有不同版本。

对于更复杂的项目,我们实际使用的是,我更喜欢使用

python google-cloud-platform
1个回答
0
投票

e.g。:

virtualenv


    
	

最新问题
© www.soinside.com 2019 - 2024. All rights reserved.