The thread - Getting “Error: couldn't get currently installed version for letsencrypt” when trying to renew my certificates - #21 by bmw should hopefully explain this issue I think.
If you remove some of the conflicting files
rm -rf "${XDG_DATA_HOME:-~/.local/share}/letsencrypt"
Then try again, it will hopefully resolve your issue.