Closed rodolfo-viana closed 4 years ago
dataclasses
is a module added to Python 3.7. This was my mistake, as I have the required Python version listed as Python 3.6. For now, if you can use Python >= 3.7 that would work, but I will try refactor to use Python 3.6 compatible code.
@rodolfo-viana Version 3.0.0 just released fixed the compatibility issues. It is now fully Python >= 3.6 compatible. It does break with v2.x.x, and you'll have to reauthenticate any projects the first time you create a Gmail
object after upgrading.
That's awesome. Thank you.
I have run a script using
simplegmail
with Python 3.8 and it works fine. But when I upload it to a VM on a cloud (with Python 3.6.9 along withcredentials.json
andgmail-token.json
), I get this error:I believe it is related to one of the dependencies for
simplegmail
itself does not have a module nameddataclasses
.