imapclient

pip install pyzmail ERROR message

感情迁移 提交于 2019-12-22 10:45:34
问题 I use Python 3.5.2. I installed imapclient with no problem pip install imapclient . However when I tried to install pyzmail, pip install pyzmail , I received error message below: ImportError: No module named '_markerlib' ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in C:\Users\J \AppData\Local\Temp\pip-build-ntukh55u\distribute\ 回答1: I had the same problem, and resolved it using: easy_install pyzmail 回答2: To those who find this thread

imapclient error on Windows

回眸只為那壹抹淺笑 提交于 2019-12-18 04:55:21
问题 Environment that I'm having trouble on: Python 2.7.11 on Windows10 (patched up to date). Python installed via a msi. I've checked PATH settings in settings, and it's set to c:\Python27. This works on Mac: from imapclient import IMAPClient IMAPClient("imap-mail.outlook.com", use_uid=True, ssl=(True)) But on Windows, if barfs like so: Traceback (most recent call last): File "test_outlook_imap.py", line 3, in <module> IMAPClient("imap-mail.outlook.com", use_uid=True, ssl=(True)) File "C:

Python email bot Pyzmail/IMAPclient error

会有一股神秘感。 提交于 2019-12-06 07:52:38
问题 So I'm working on a Python script to extract text from an email and following these instructions to do so. This is the script thus far: import imapclient import pprint import pyzmail mymail = "my@email.com" password = input("Password: ") imapObj = imapclient.IMAPClient('imap.gmail.com' , ssl=True) imapObj.login(mymail , password) imapObj.select_folder('INBOX', readonly=False) UIDs = imapObj.search(['SUBJECT Testing']) rawMessages = imapObj.fetch([5484], ['BODY[]']) message = pyzmail

Python email bot Pyzmail/IMAPclient error

人盡茶涼 提交于 2019-12-04 12:58:05
So I'm working on a Python script to extract text from an email and following these instructions to do so. This is the script thus far: import imapclient import pprint import pyzmail mymail = "my@email.com" password = input("Password: ") imapObj = imapclient.IMAPClient('imap.gmail.com' , ssl=True) imapObj.login(mymail , password) imapObj.select_folder('INBOX', readonly=False) UIDs = imapObj.search(['SUBJECT Testing']) rawMessages = imapObj.fetch([5484], ['BODY[]']) message = pyzmail.PyzMessage.factory(rawMessages[5484]['BODY[]']) However I'm getting this error: message = pyzmail.PyzMessage

How to install imapclient

£可爱£侵袭症+ 提交于 2019-12-03 00:49:44
问题 I’m trying to use the IMAP client library: https://imapclient.readthedocs.org/en/stable/ I download the zip: https://pypi.python.org/pypi/IMAPClient/0.13 Next I used windows command prompt and pip to install: Ran: pip install imapclient This placed/created a director in my site-pages directory C:\Python27\ArcGIS10.2\Lib\site-packages\IMAPClient-0.13-py2.7.egg which I can open and find all the files, but I can’t open IDE and import imapclient or run the examples without getting the error: