How to install imapclient

后端 未结 2 1227
予麋鹿
予麋鹿 2021-01-29 11:33

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

相关标签:
2条回答
  • 2021-01-29 12:10

    You'll need to make sure your PYTHONPATH is set properly: https://docs.python.org/2/using/windows.html#configuring-python

    0 讨论(0)
  • 2021-01-29 12:17

    I encountered the same problem and below are the steps is used to install imapclient. Step1: Clone IMAPClient repository to install it from source.

    git clone https://github.com/mjs/imapclient.git
    

    Step2: Navigate to imapclient folder on your computer. Mine was installed on my home directory on linux so the command i used was:

     $ cd imapclient/
    

    Step3: Time to install imap using pip while inside the imapclient folder.

    pip install -e .
    

    PS:NOTE THE dot(.) ARGUMENT PASSED ON THE COMMAND.

    Above installation steps in screenshot

    Using your system change directory command, navigate to the cloned imap client folder

    pip install and verify on the python interpreter.

    0 讨论(0)
提交回复
热议问题