GEE python 初始化报错
import ee import pandas as pd import geemap # 初始化 Earth Engine ee.Initialize geemap.set_proxy(port=10809)
之前都正常运行,后面再打开报错提示。
(Caused by ProxyError('Unable to connect to proxy', SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1135)'))))
代理出问题,查询文章
软件工具属于代理(proxy),不是VPN。这意味着在电脑上(PC端),开启这些上网工具后,浏览器可以顺利上网,但命令行、其他工具的流量可能并不会走代理。https://itlanyan.com/use-enhanced-mode-in-***-to-global-proxy/
https://gist.github.com/dreamlu/cf7cbc0b8329ac145fa44342d6a1c01d
操作:打开windows power shell
输入代码
$env:http_proxy="http://127.0.0.1:1080" $env:https_proxy="http://127.0.0.1:1080"
注意使用正确的本地端口,如果使用*****N的话,可以在app界面底部看到socks5和http端口

浙公网安备 33010602011771号