I installed the sendgrid library and while importing the module, I am getting ModuleNotFound Error.
File "send_sendgridemail.py", line 2, in <module>
from sendgrid import SendGridAPIClient
File "/home/shivam/PycharmProjects/venv/lib/python3.6/site-packages/sendgrid/__init__.py", line 21, in <module>
from .helpers.eventwebhook import * # noqa
File "/home/shivam/PycharmProjects/venv/lib/python3.6/site-packages/sendgrid/helpers/eventwebhook/__init__.py", line 1, in <module>
from ellipticcurve.ecdsa import Ecdsa
ModuleNotFoundError: No module named 'ellipticcurve'
I had to switch to a previous version
Exactly the same issue on my side
using sendgrid: 6.4.0
python: 3.7
It worked OK yesterday on version 6.3.1
why don't they just make this library work on all versions of python?
@whoek They forgot to add one dependency.
Just add pip install starkbank-ecdsa and it will work properly with the latest version.
pip install starkbank-ecdsa
Thanks, A lot, this solution worked
Duplicates #913
Most helpful comment
@whoek They forgot to add one dependency.
Just add
pip install starkbank-ecdsaand it will work properly with the latest version.