Re: Problem with continuing to run Getmail
Chris Dunn <[email protected]>
| Newsgroups | gmane.mail.getmail.user |
|---|---|
| Message-ID | <[email protected]> |
On 20/09/2020 08:25, lilydjwg wrote:
> On Sun, Sep 20, 2020 at 07:26:00AM -0500, Chris Dunn wrote:
>> [...]
>>
>> Traceback (most recent call last):
>> File "/usr/local/bin/getmail", line 59, in <module>
>> from getmailcore import __version__, retrievers, destinations, filters,
>> \
>> File "/usr/local/lib/python2.7/site-packages/getmailcore/retrievers.py",
>> line 45, in <module>
>> from getmailcore._retrieverbases import *
>> File
>> "/usr/local/lib/python2.7/site-packages/getmailcore/_retrieverbases.py",
>> line 317, in <module>
>> class POP3_SSL_EXTENDED(poplib.POP3_SSL):
>> AttributeError: 'module' object has no attribute 'POP3_SSL'
>
> Your Python 2 doesn't have ssl support (try python2 -c 'import ssl').
> You'll need openssl with dev headers to compile Python 2.
>
> You need to be very careful when reading the compile logs, because it
> just skips modules that cannot be compiled, instead of bailing out and
> showing you a big error message.
>
>> [...]
>
lilydjwg,
Thanks for the rapid reply.
As root python2 -c 'import ssl' yielded :
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python2.7/ssl.py", line 98, in <module>
import _ssl # if we can't import it, let the error
propagate
ImportError: No module named _ssl
So please excuse my total ignorance of Python, but I'm guessing I need
to download an additional package or so and maybe re-install python 2.7.
Would you be kind enough to lead me by the hand and advise what steps I
need to take?
--
Chris Dunn