Niurka Perez wrote:
>     ssl = socket.ssl(sock, self.key_file,
> self.cert_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.

Daniel
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to