2.1.0: Cygwin - bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'ssl'

Martin (gzlist) gzlist at googlemail.com
Sat Mar 13 18:04:24 GMT 2010


On 13/03/2010, Jari Aalto <jari.aalto at cante.net> wrote:
>>
>> Does this also throw for you?
>>
>>     $ python -c "import socket; socket.ssl"
>
> Unfortunately:
>
> $ python -c "import socket; socket.ssl"
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> AttributeError: 'module' object has no attribute 'ssl'
>
> So, I gather I'm out of luck using LP under Cygwin.

No, that's good news, it's a problem with your Python installation
rather than the bzr package you made. Going by what I have, you need
/usr/lib/python2.5/lib-dynload/_ssl.dll which should be provided by
the base Python package:

<http://cygwin.com/packages/python/python-2.5.1-2>

So perhaps just reinstalling that will fix it?

Martin



More information about the bazaar mailing list