Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/310.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python Google Earth引擎:未找到命令_Python_Google Earth Engine - Fatal编程技术网

Python Google Earth引擎:未找到命令

Python Google Earth引擎:未找到命令,python,google-earth-engine,Python,Google Earth Engine,我将按照教程为Google Earth引擎安装Python API。我成功地安装了所有软件包——尽管我将它们安装到了/home/alelliot/install,而不是/usr/local,这样我就不必使用sudo了 我正在执行“设置身份验证凭据”步骤,但现在出现以下错误: alelliot@precisionm6600c:~/install$ earthengine authenticate earthengine: command not found 我可以清楚地看到EartEngine软

我将按照教程为Google Earth引擎安装Python API。我成功地安装了所有软件包——尽管我将它们安装到了/home/alelliot/install,而不是/usr/local,这样我就不必使用sudo了

我正在执行“设置身份验证凭据”步骤,但现在出现以下错误:

alelliot@precisionm6600c:~/install$ earthengine authenticate
earthengine: command not found
我可以清楚地看到EartEngine软件包已正确安装,因此我不知道为什么会出现此错误(为了清楚起见,下面的目录被截断):


任何帮助都将不胜感激。

而且“~/install”目录在您的路径上?我以为是,但显然不是。使用
export PATH=$PATH:~/install
似乎已经解决了这个问题。非常感谢。“~/install”目录在你的路径上?我以为是,但显然不是。使用
export PATH=$PATH:~/install
似乎已经解决了这个问题。非常感谢。
alelliot@precisionm6600c:~/install$ ls -l
[...]
drwxrwxr-x  2 alelliot mtriuser   4096 Jul 26 13:12 cryptography-2.0.dist-info
-rwxrwxr-x  1 alelliot mtriuser    339 Jul 27 04:33 earthengine
drwxrwxr-x  2 alelliot mtriuser   4096 Jul 26 13:12 earthengine_api-0.1.119.dist-info
-rw-rw-r--  1 alelliot mtriuser    126 Jul 26 13:10 easy_install.py
-rw-rw-r--  1 alelliot mtriuser    315 Jul 26 13:10 easy_install.pyc
drwxrwxr-x  4 alelliot mtriuser   4096 Jul 26 13:12 ee
[...]