Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

install pyOpenSSL in python2.7

39 views
Skip to first unread message

水静流深

unread,
Nov 3, 2012, 4:58:47 AM11/3/12
to python-list
i have install  pyOpenSSL-0.11  in python2.7  this way:
download  pyOpenSSL-0.11.tar.gz
 #tar -zvxf pyOpenSSL-0.11.tar.gz
 #cd pyOpenSSL-0.11
 #python setup.py install

>>> import  OpenSSL
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 45, in <module>
    from OpenSSL import rand, SSL
ImportError: /usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.so: undefined symbol: SSLv2_method


how can i fix the  problem?
ImportError: /usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.so: undefined symbol: SSLv2_method

John Gleeson

unread,
Nov 4, 2012, 2:10:14 PM11/4/12
to 水静流深, python-list
> --
> http://mail.python.org/mailman/listinfo/python-list


The pyOpenSSL home page at https://launchpad.net/pyopenssl says that
the latest
version is 0.11, but that is not true.

The latest version is 0.13. You can get it on PyPI here
http://pypi.python.org/pypi/pyOpenSSL
SSLv2 is no longer supported in OpenSSL, and version 0.13 no longer
expects it.

- John

0 new messages