NationalSecurityAgency / qgis-earthsunmoon-plugin

QGIS plugin to show the location of the sun, moon, and planets at their zenith for a particular date and time.
GNU General Public License v2.0
30 stars 5 forks source link

Cannot import name 'QgsProcessingParameterDateTime' from 'qgis.core' #1

Closed Krukarius closed 1 year ago

Krukarius commented 1 year ago

I am having an error like this:

ImportError: cannot import name 'QgsProcessingParameterDateTime' from 'qgis.core' (C:/PROGRA~1/QGIS3~1.12/apps/qgis/./python\qgis\core__init__.py)

and the plugin fails to load.

My version of QGIS is 3.12

hamiltoncj commented 1 year ago

Sorry about that. It looks like QgsProcessingParameterDateTime was included in QGIS for the first time in 3.14. I am being pulled off of QGIS development. At this point in time I wont be able to implement this differently so I suggest that you upgrade to the latest version of QGIS. What I will do is to change the metadata to make the minimum version be 3.14.