You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using UI, setup block for email package for gmail ( Password is App password that I got from my gmail )
3. running `python sync.py` to run flow
4. getting following error
Traceback (most recent call last):
File "/Users/krishnaglodha/Documents/work/geobeyond/georoma-probe/sync.py", line 2, in <module>
from prefect import flow, task
File "/Users/krishnaglodha/Documents/work/geobeyond/georoma-probe/env/lib/python3.9/site-packages/prefect/__init__.py", line 25, in <module>
from prefect.states import State
File "/Users/krishnaglodha/Documents/work/geobeyond/georoma-probe/env/lib/python3.9/site-packages/prefect/states.py", line 10, in <module>
import httpx
File "/Users/krishnaglodha/Documents/work/geobeyond/georoma-probe/env/lib/python3.9/site-packages/httpx/__init__.py", line 2, in <module>
from ._api import delete, get, head, options, patch, post, put, request, stream
File "/Users/krishnaglodha/Documents/work/geobeyond/georoma-probe/env/lib/python3.9/site-packages/httpx/_api.py", line 4, in <module>
from ._client import Client
File "/Users/krishnaglodha/Documents/work/geobeyond/georoma-probe/env/lib/python3.9/site-packages/httpx/_client.py", line 9, in <module>
from ._auth import Auth, BasicAuth, FunctionAuth
File "/Users/krishnaglodha/Documents/work/geobeyond/georoma-probe/env/lib/python3.9/site-packages/httpx/_auth.py", line 7, in <module>
from urllib.request import parse_http_list
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 86, in <module>
import email
File "/Users/krishnaglodha/Documents/work/geobeyond/georoma-probe/email.py", line 1, in <module>
from prefect_email import EmailServerCredentials
File "/Users/krishnaglodha/Documents/work/geobeyond/georoma-probe/env/lib/python3.9/site-packages/prefect_email/__init__.py", line 2, in <module>
from .credentials import EmailServerCredentials, SMTPServer, SMTPType
File "/Users/krishnaglodha/Documents/work/geobeyond/georoma-probe/env/lib/python3.9/site-packages/prefect_email/credentials.py", line 5, in <module>
from smtplib import SMTP, SMTP_SSL
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/smtplib.py", line 47, in <module>
import email.utils
ModuleNotFoundError: No module named 'email.utils'; 'email' is not a package
I would like to help contribute a pull request to resolve this!
The text was updated successfully, but these errors were encountered:
Expectation / Proposal
Send Email as per this example in the docs
Traceback / Example
3. running `python sync.py` to run flow 4. getting following error
The text was updated successfully, but these errors were encountered: