gee-community / qgis-earthengine-plugin

Integrates Google Earth Engine and QGIS using Python API
http://qgis-ee-plugin.appspot.com
MIT License
454 stars 116 forks source link

there is no Authorization window, how to run Earthengine authenticate in CLI? #52

Closed qq2898 closed 4 years ago

qq2898 commented 4 years ago

it can't be run earthengine authenticate in system's cmd window, how can I to do? is there any detail help?

gena commented 4 years ago

Try authenticating using command-line as explained here: https://developers.google.com/earth-engine/command_line#authenticate, if that does not work - report an issue here: https://github.com/google/earthengine-api/issues

qq2898 commented 4 years ago

I installed gee plugin in QGIS in Win10 x64 and therefore there is earthengine.exe in the path "C:\Users\admin\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\bin", but when I run 'earthengine' in cmd, it shows: Fatal error in launcher: Unable to create process using '"c:\opt\miniconda3\python.exe"  "C:\Users\86158\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\bin\earthengine.exe" ', actually there is no 'c:\opt\miniconda3\python.exe' in my computer, does I need to install a miniconda3 as this path ?

------------------ 原始邮件 ------------------ 发件人: "gena"<notifications@github.com>; 发送时间: 2020年4月4日(星期六) 晚上9:06 收件人: "gee-community/qgis-earthengine-plugin"<qgis-earthengine-plugin@noreply.github.com>; 抄送: "Gao Lei"<28987240@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [gee-community/qgis-earthengine-plugin] there is no Authorization window, how to run Earthengine authenticate in CLI? (#52)

Try authenticating using command-line as explained here: https://developers.google.com/earth-engine/command_line#authenticate, if that does not work - report an issue here: https://github.com/google/earthengine-api/issues

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

gena commented 4 years ago

you can install earthengine independently from QGIS, the plugin uses the same configuration file as the CLI of earthengine. Check EE docs on how to install and authenticate it. You don't need to run it from the plugin dir

gena commented 4 years ago

Closing for no activity since Apr 12