我正在尝试在GCP VM上部署一个数据流作业,该VM可以访问GCP资源,但不能访问internet。当我试着运行作业时,我得到一个连接超时错误,如果我试着连接到internet,这是有意义的。代码中断,因为正在尝试代表apache beam建立http连接。你知道吗
Python设置: 在切断VM之前,我使用pip和要求.txt. 这似乎是有效的,因为代码的其他部分工作得很好。你知道吗
下面是我运行代码时收到的错误消息。你知道吗
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None))
after connection broken by 'ConnectTimeoutError(
<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at foo>,
'Connection to pypi.org timed out. (connect timeout=15)')': /simple/apache-beam/
Could not find a version that satisfies the requirement apache-beam==2.9.0 (from versions: )
No matching distribution found for apache-beam==2.9.0
如果您正在运行python作业,它是否需要连接到pypi?这附近有黑客吗?你知道吗
目前没有回答
相关问题 更多 >
编程相关推荐