Featured Post

Civil 3D - Layer Filter Properties dialog box cannot be found-MENU outside of display AREA

Civil 3D Layer Filter Properties dialog [Annotative scale] box cannot be found.     This can occur if a window is displaying outside t...

Thursday, November 12, 2020

EARTHENGINE -API INSTALLATION ERROR

 QGIS

Earth engine installation issue.

 I was trying to install Google earth plugins in QGIS. I received an error requiring me to install earthengine API before continuing.

After trial and error I found out this:

Earth Engine API by Google is easy to install. The instructions are located here:

https://developers.google.com/earth-engine/guides/python_install

If you follow the directions, you might get stuck with this :

>>> pip install earthengine-api --upgrade

Tracebak blabh ablah b

fiel <lkdfjdkj> line  in 

Name error syntax ^install.

I didn't know that you have to run the "pip install earthengine-api  upgrade under the regular Windows CMD  shell.

 


 

for instance: run Win+R or find your CMD (command prompt)-you can right-click start icon and select windows powershell   from Windows start.

You should see in your prompt a single ">" or actually c:\Users\[yourname]>

Then type:
pip install earthengine-api --upgrade,  and hit enter to install the API.

If successful you willneed to authenticate earthengine

type on the prompt >earthengine authenticate

You will see a browser window asking to authenticate your Google account and you will get a generated code. Paste the code on the command line, enter and you have successfully installed the Earthengine API

On the same command prompt type Earthengine --version



No comments:

Post a Comment