title: Windows安装GEE环境配置WinError10060错误
date: 2018-12-10
categories: GEE
tags: python
首先参考GEE官方文档进行 GEE的Python环境配置
由于某些众所周知的原因,访问GEE云端需要设置网络代理,但是有些时候会发现设置全局代理后仍然不能正常运行
运行至ee.Initialize()出现以下错误:
Exception has occurred: TimeoutError
[WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
输出图像信息如下:
{'type': 'Image', 'bands': [{'id': 'elevation', 'data_type': {'type': 'PixelType', 'precision': 'int', 'min': -32768, 'max': 32767}, 'dimensions': [432000, 144000], 'crs': 'EPSG:4326', 'crs_transform': [0.000833333333333, 0.0, -180.0, 0.0, -0.000833333333333, 60.0]}], 'version': 1494271934303000, 'id': 'srtm90_v4', 'properties': {'system:time_start': 950227200000, 'system:time_end': 951177600000, 'system:asset_size': 18827626666}}
连接类型
2.FTP服务器故障
3.端口
试下用ACTV mode看看?
ftp.set_pasv(False)