cktrack Posted September 19, 2022 Posted September 19, 2022 Please add Python Modules MIMEText and EmailMessage for Python 3.10 Thank you!
Krydos Posted September 19, 2022 Posted September 19, 2022 root@tommy2 [/home/krydos]# /usr/local/python3.10/bin/pip3.10 install mimetext ERROR: Could not find a version that satisfies the requirement mimetext (from versions: none) ERROR: No matching distribution found for mimetext root@tommy2 [/home/krydos]# /usr/local/python3.10/bin/pip3.10 install MIMEText ERROR: Could not find a version that satisfies the requirement MIMEText (from versions: none) ERROR: No matching distribution found for MIMEText root@tommy2 [/home/krydos]# /usr/local/python3.10/bin/pip3.10 install emailmessage ERROR: Could not find a version that satisfies the requirement emailmessage (from versions: none) ERROR: No matching distribution found for emailmessage root@tommy2 [/home/krydos]# /usr/local/python3.10/bin/pip3.10 install EmailMessage ERROR: Could not find a version that satisfies the requirement EmailMessage (from versions: none) ERROR: No matching distribution found for EmailMessage
cktrack Posted September 19, 2022 Author Posted September 19, 2022 Sorry Krydos. Try the following: email.mime.text email.message
Krydos Posted September 21, 2022 Posted September 21, 2022 Those don't need to be installed. They are part of the default Python install, and you can just import. root@tommy2 [/home/krydos]# /usr/bin/python3.10 Python 3.10.5 (main, Jul 30 2022, 21:17:50) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import email >>> import email.mime.text >>> import email.message >>>
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now