sendgrid / python-http-client

Twilio SendGrid's Python HTTP Client for calling APIs
https://sendgrid.com
MIT License
126 stars 101 forks source link

Getting ModuleNotFoundError for urllib2 for starter code given in sendgrid documentation #126

Closed Haider8 closed 4 years ago

Haider8 commented 5 years ago

Issue Summary

A summary of the issue and the environment in which it occurs. If suitable, include the steps required to reproduce the bug. Please feel free to include screenshots, screencasts, code examples.

Steps to Reproduce

  1. https://app.sendgrid.com/guide/integrate/langs/python#settings/api_keys
  2. Run the code given there.
  3. Get the error

Any other information you want to share that is relevant to the issue being reported. Especially, why do you consider this to be a bug? What do you expect to happen instead?

Technical details:

thinkingserious commented 4 years ago

Hello @Haider8,

The example code at the link you provided requires this library. Could you please try that helper library?

I tried to reproduce this issue and I was not able to.

With best regards,

Elmer