ImportError: No module named mime.multipart

后端 未结 5 1189
醉酒成梦
醉酒成梦 2021-02-05 13:44

Good morning,

For testing purposes, I have made a one-line Python program:

from email.mime.multipart import MIMEMultipart

When I run it

5条回答
  •  执念已碎
    2021-02-05 14:17

    Call me dumb, but I was getting ImportError: No module named mime.text because my script was called email.py .... lol (blame on 4 am programming)

提交回复
热议问题