Hello and welcome to the forum
This problem has been noted before, fairly recently:
I think that G’MIC has updated itself with a bad update,
The updates are stored in a particular folder and will therefore be applied to any ‘replacement’ G’MIC package you try.
I think you can delete the contents of that folder, if you can find it, then disconnect from the internet, run krita and the G’MIC filter and turn off its update ability in the settings/options.
Then you can reconnect to the internet.
Please read that topic linked above to get a better understanding of it.