'module' object has no attribute 'ssl'
daniel.dittmar at sap.corp
Wed Jun 21 18:01:20 CEST 2006
Niurka Perez wrote:
> ssl = socket.ssl(sock, self.key_file,
> AttributeError: 'module' object has no attribute 'ssl'
The socket module failed to import the _ssl module. And the ssl function
gets only defined if _ssl could be imported.
You probably haven't installed the OpenSSL-dev rpm. When the Python
configure couldn't find the SSL header files, it struck _ssl from the
list of compilable modules.
More information about the Python-list