I'd like to add SendGrid
package using poetry. I do so using:
poetry add sendgrid
I then get the following error:
ConnectionError
HTTPConnectionPool(host='192.168.30.7', port=8080): Max retries exceeded with url: /sendgrid/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001FF281963D0>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
at c:\python38\lib\site-packages\requests\adapters.py:516 in send
512│ if isinstance(e.reason, _SSLError):
513│ # This branch is for urllib3 v1.22 and later.
514│ raise SSLError(e, request=request)
515│
→ 516│ raise ConnectionError(e, request=request)
517│
518│ except ClosedPoolError as e:
519│ raise ConnectionError(e, request=request)
520│
But if I do pip install poetry
, it works without any problem.
What could be the issue with the poetry installation?