【问题标题】:Unable to install Google-Earth-Engine-Api in Linux subsystem for Windows无法在 Windows 的 Linux 子系统中安装 Google-Earth-Engine-Api
【发布时间】:2017-06-23 16:53:42
【问题描述】:

好的,我已经在我的 Windows 10 中安装了 Linux 子系统,现在按照 tutorial 在我的 Linux 子系统中安装 google earth 引擎。

当我尝试运行以下命令来安装 GEE API 时,出现以下错误(“sudo pip install 'pyOpenSSL>=0.11'”命令也出现相同的错误。):

sudo pip install earthengine-api

> Command "/usr/bin/python -u -c "import setuptools,
> tokenize;__file__='/tmp/pip-build-PrUuzi/cryptography/setup.py';f=get
> attr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n',
> '\n');f.close();exec(compile(code, __file__, 'exec' ))" install
> --record /tmp/pip-3eTIvM-record/install-record.txt --single-version-externally-managed --compile" failed wit h error code 1 in /tmp/pip-build-PrUuzi/cryptography/

然后在失败后,我尝试手动下载并安装 GEE 设置。 我将下载的压缩包复制到文件夹:“C:\Users\Saurabh\AppData\Local\lxss\home\saurabh”

然后尝试执行 ls -a 以查看我是否可以看到该文件。但它不可见:

我在这里做错了什么?

【问题讨论】:

  • 如果您将代码粘贴到您的帖子中并用波浪线 ` 像这样 ` 包围它(但没有空格),它将格式化为代码,并且您的帖子更有可能出现在 Google 搜索结果中同样的问题(这就是我在这里结束的方式)。

标签: python linux windows-10 windows-subsystem-for-linux google-earth-engine


【解决方案1】:

正如this thread 中提到的,我将 setuptools 和 pip 更新到了最新版本,我终于能够毫无问题地运行 earthengine-api。

【讨论】:

  • 您链接到有关 rtmidi 包的线程,而不是 Google 地球引擎。这是你的意图吗?
猜你喜欢
  • 1970-01-01
  • 2017-05-02
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2020-11-02
相关资源
最近更新 更多