Closed spacefan closed 4 years ago
This looks like something is wrong with the QGIS plugins dictionary. Can you check if the plugin is enabled in the Plugins > Manage and Install Plugins ...? Does this occur every time?
When i restart QGIS, QGIS throw an exception:
Couldn't load plugin 'ee_plugin' due to an error when calling its classFactory() method
but Google Earth Engine is enabled, and the fellow code can be execluted without error in Python console:
# -*- coding:utf-8 -*-
import ee
from ee_plugin import Map
image = ee.Image('USGS/SRTMGL1_003').unitScale(0, 5000)
Problem solved, thanks for your kind replay! @gena
Problem solved, thanks for your kind replay! @gena
had the same problem.how you fix it?
1. Problem description When i run the fellow code, everything is OK:
but KeyError: 'ee_plugin' error occured after execlute Map.addLayer():
2. Enviorment
OS: Win 10 x64 QGIS: 3.10.1 Python: 3.7.0