0
cannot import: from email.message import EmailMessage
I wrote a python script in sublime text to send emails but I can't seem to import EmailMessage. I have the latest python installed. I figured its because maybe python2.7 is being run instead of python3, so is there a way to point my script to python3? I've used the command: alias python=python3 and #!/usr/bin/python3 but still no luck.
2 Réponses
0
Thank you for answering Mirielle🐶 [Inactive] you were right. I didnt have it installed