Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/312.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python ApacheBeamTypeCoders错误和typehint上的回退-GCP数据流教程_Python_Apache Beam_Dataflow_Gcp - Fatal编程技术网

Python ApacheBeamTypeCoders错误和typehint上的回退-GCP数据流教程

Python ApacheBeamTypeCoders错误和typehint上的回退-GCP数据流教程,python,apache-beam,dataflow,gcp,Python,Apache Beam,Dataflow,Gcp,在尝试执行GCP“”代码实验室时,我陷入了一个非常奇怪的错误 作为提醒,我没有在本地计算机上运行。我在GCP上创建了一个新的cloudshell实例,并克隆了repo 我试图在本地机器上运行python~/training data analysis/courses/data\u analysis/lab2/python/grep.py,因为grepc.py是在GCP数据流本身上运行的 我收到以下错误(尝试运行grepc.py时也会发生这种情况): No handlers could be fo

在尝试执行GCP“”代码实验室时,我陷入了一个非常奇怪的错误

作为提醒,我没有在本地计算机上运行。我在GCP上创建了一个新的cloudshell实例,并克隆了repo

我试图在本地机器上运行
python~/training data analysis/courses/data\u analysis/lab2/python/grep.py
,因为
grepc.py
是在GCP数据流本身上运行的

我收到以下错误(尝试运行
grepc.py
时也会发生这种情况):

No handlers could be found for logger "oauth2client.contrib.multistore_file" 
/usr/local/lib/python2.7/dist-packages/apache_beam/coders/typecoders.py:135: UserWarning: Using fallback coder for typehint: <type 'NoneType'>. 
warnings.warn('Using fallback coder for typehint: %r.' % typehint)
找不到记录器“oauth2client.contrib.multistore_文件”的处理程序
/usr/local/lib/python2.7/dist-packages/apache_-beam/coders/typecoders.py:135:UserWarning:对typehint使用回退编码器:。
warnings.warn('使用类型提示的回退编码器:%r.%typehint)
有什么想法吗