Unable to install the package "email"
26,563
email
is an standard library , which need not to be imported separately,
just use import email
.
for more usage and features kindly refer to python docs
Author by
Admin
Updated on July 27, 2022Comments
-
Admin almost 2 years
I can't install the package "email" on Ubuntu 14 neither for Python3, not for Python 2.7
sudo pip install email # or sudo pip3 install email
And the error is:
ImportError: No module named 'cStringIO' ----------------------------------------
I need to install it for Python3.
-
Rahul about 8 yearsHave you tried importing
email
module directly ? I think it's the part of standard library. -
Admin about 8 years@Rahul, you're a genius.
-
Admin about 8 years@Rahul, why can't I do this "from email.MIMEMultipart import MIMEMultipart" ---> "ImportError: No module named 'email.MIMEMultipart'" ?
-
Rahul about 8 yearsTry this
from email.mime.multipart import MIMEMultipart
-
-
mohsinulhaq about 7 yearsIts not included by default in Python 3 for Raspbian OS