Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #32742
| From | John Gleeson <jdgleeson@mac.com> |
|---|---|
| Subject | Re: install pyOpenSSL in python2.7 |
| References | <tencent_076433BE2F907DCA1FFFB14E@qq.com> |
| Date | 2012-11-04 12:10 -0700 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3266.1352059834.27098.python-list@python.org> (permalink) |
On 2012-11-03, at 2:58 AM, 水静流深 wrote: > 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 > > -- > 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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: install pyOpenSSL in python2.7 John Gleeson <jdgleeson@mac.com> - 2012-11-04 12:10 -0700
csiph-web