我有 python 3.6 的 pip 18.1 并且想安装 earthengine-api 所以我输入 pip install earthengine-api
了命令提示符。
我收到以下错误消息:
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x06345BF0>, 'Connection to 10.168.209.72 timed out. (connect timeout=15)')': /simple/earthengine-api/ Could not find a version that satisfies the requirement earthengine-api (from versions: ) No matching distribution found for earthengine-api
我试过set | find "proxy"
了,它给了:
https_proxy=http://xx.xxx.xxx.xx:xxxx
http_proxy=http://xx.xxx.xxx.xx:xxxx
no_proxy=xxx.xxx.xxx.xx,xxx.0.0.1
虽然pip config list | find "proxy"
给了:
FIND: Parameter format not correct
我不明白错误消息,但怀疑我的工作 PC(我不是管理员)的保护要对这个问题负责,所以我决定在家用 PC 上安装 python,
pip install earthengine-api
但在 jupyter notebook 中我得到“不模块ee”
所以我安装了它,
conda install –c conda-forge earthengine-api
现在它可以在jupyter中运行(不要问我为什么)。