megsh
megsh

Reputation: 47

ERROR: Could not find a version that satisfies the requirement imaplib (from versions: none)

I'm trying to read user emails via python email & imaplib package and print the contents in the console. But I'm getting error when I try to install imaplib library in pycharm. I also tried upgrading the pip, still unable to install the package. What could be the cause and how do I solve it?

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

Upvotes: 0

Views: 3893

Answers (2)

user3675515
user3675515

Reputation: 165

no need to install imaplib library with pip, it is a python core library. Just import it:

import imaplib

Upvotes: 3

Goutham ssc
Goutham ssc

Reputation: 84

The Internet Message Access Protocol (IMAP) is a mail protocol used for accessing email on a remote web server from a local client.Likely using IMAP library you can create folders, move/delete/send messages in python.You can check out my code using IMAP here and have a better understanding.

Upvotes: 0

Related Questions