Installing a python package that is not available in anaconda (smtplib)

Viewed 25081

I'm using anaconda on linux and I want to install smtplib to send mail. I have tried,

conda install smtplib which returned:

PackageNotFoundError: Package missing in current linux-64 channels: - smtplib , and,

pip install smtplib which returned:

Could not find a version that satisfies the requirement smtplib (from versions: ) No matching distribution found for smtplib

I found that smtplib comes by default in the standard python distribution and I wonder why it is not available in anaconda.

Question: How to install smtplib? Or more generically, how to install a package that is not included in anaconda?

There are similar questions here and here but without any answers.


Spec: Python 2.7.13 |Anaconda 4.3.1 (64-bit)| (default, Dec 20 2016, 23:09:15) [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2

3 Answers
Related