Remove dependency on requests module #2

Open
opened 2023-09-22 19:02:39 +00:00 by abner · 0 comments

Reported by MysteriousJ on discord. Running the script for the first time gave him:

> python send_mail.py
Traceback (most recent call last):
  File "F:\files\code\projects\handmade_newsletter\send-mail\send_mail.py", line 46, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

And to fix it you need to use pip:

python -m pip install requests

I prefer to not rely on it.

Reported by `MysteriousJ` on discord. Running the script for the first time gave him: ``` > python send_mail.py Traceback (most recent call last): File "F:\files\code\projects\handmade_newsletter\send-mail\send_mail.py", line 46, in <module> import requests ModuleNotFoundError: No module named 'requests' ``` And to fix it you need to use pip: `python -m pip install requests` I prefer to not rely on it.
abner self-assigned this 2023-09-22 19:02:39 +00:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: meetups/send-mail#2
There is no content yet.