cktrack Posted September 19, 2022 Posted September 19, 2022 Please add Python Modules MIMEText and EmailMessage for Python 3.10 Thank you! Quote
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 Quote
cktrack Posted September 19, 2022 Author Posted September 19, 2022 Sorry Krydos. Try the following: email.mime.text email.message Quote
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 >>> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.