on the first installation attempt, the error appeared below. Then, I clicked on reinstall complement, apparently it is installed, but I reproduce here the error as it appeared:
Impossível carregar complemento 'ee_plugin' Devido a um erro ao chamar o método Class Factory().
TypeError: get_authorization_url() missing 1 required positional argument: 'code_challenge'
Traceback (most recent call last):
File "C:\Users\vinic\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\ee\data.py", line 230, in get_persistent_credentials
tokens = json.load(open(oauth.get_credentials_path()))
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\vinic/.config/earthengine/credentials'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/vinic/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin\ee_auth.py", line 19, in init
ee.Initialize()
File "C:\Users\vinic\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\ee__init__.py", line 114, in Initialize
credentials = data.get_persistent_credentials()
File "C:\Users\vinic\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\ee\data.py", line 241, in get_persistent_credentials
'Please authorize access to your Earth Engine account by '
ee.ee_exception.EEException: Please authorize access to your Earth Engine account by running
earthengine authenticate
in your command line, and then retry.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 334, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/vinic/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin__init__.py", line 25, in classFactory
from .ee_plugin import GoogleEarthEnginePlugin
File "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 743, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/vinic/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin\ee_plugin.py", line 26, in
ee_plugin.ee_auth.init()
File "C:/Users/vinic/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin\ee_auth.py", line 21, in init
authenticate()
File "C:/Users/vinic/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin\ee_auth.py", line 32, in authenticate
auth_url = ee.oauth.get_authorization_url()
TypeError: get_authorization_url() missing 1 required positional argument: 'code_challenge'
Versão do Python: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
Versão do QGIS: 3.10.8-A Coruña A Coruña, d09a4f2388
Hello,
on the first installation attempt, the error appeared below. Then, I clicked on reinstall complement, apparently it is installed, but I reproduce here the error as it appeared:
Impossível carregar complemento 'ee_plugin' Devido a um erro ao chamar o método Class Factory().
TypeError: get_authorization_url() missing 1 required positional argument: 'code_challenge' Traceback (most recent call last): File "C:\Users\vinic\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\ee\data.py", line 230, in get_persistent_credentials tokens = json.load(open(oauth.get_credentials_path())) FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\vinic/.config/earthengine/credentials'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:/Users/vinic/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin\ee_auth.py", line 19, in init ee.Initialize() File "C:\Users\vinic\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\ee__init__.py", line 114, in Initialize credentials = data.get_persistent_credentials() File "C:\Users\vinic\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows\ee\data.py", line 241, in get_persistent_credentials 'Please authorize access to your Earth Engine account by ' ee.ee_exception.EEException: Please authorize access to your Earth Engine account by running
earthengine authenticate
in your command line, and then retry.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 334, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:/Users/vinic/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin__init__.py", line 25, in classFactory from .ee_plugin import GoogleEarthEnginePlugin File "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 743, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:/Users/vinic/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin\ee_plugin.py", line 26, in ee_plugin.ee_auth.init() File "C:/Users/vinic/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin\ee_auth.py", line 21, in init authenticate() File "C:/Users/vinic/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin\ee_auth.py", line 32, in authenticate auth_url = ee.oauth.get_authorization_url() TypeError: get_authorization_url() missing 1 required positional argument: 'code_challenge'
Versão do Python: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] Versão do QGIS: 3.10.8-A Coruña A Coruña, d09a4f2388
Caminho do Python: C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python C:/Users/vinic/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:/Users/vinic/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python/plugins C:\PROGRA~1\QGIS3~1.10\apps\Python37 C:\PROGRA~1\QGIS3~1.10\apps\Python37\Scripts C:\Program Files\QGIS 3.10\bin\python37.zip C:\PROGRA~1\QGIS3~1.10\apps\Python37\DLLs C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib C:\Program Files\QGIS 3.10\bin C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\win32 C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\win32\lib C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\Pythonwin C:/Users/vinic/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:\Users\vinic\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ee_plugin\extlibs_windows