Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'x-mailer:apple mail (2.936)': 0.04; 'importerror:': 0.05; 'skip:" 60': 0.05; 'url:launchpad': 0.05; 'problem?': 0.07; 'pypi': 0.07; 'setup.py': 0.07; 'undefined': 0.07; 'pyopenssl': 0.09; 'way:': 0.09; 'cc:addr:python-list': 0.10; '#python': 0.16; 'expects': 0.16; 'openssl': 0.16; 'received:mac.com': 0.16; 'skip:/ 50': 0.16; 'sslv2': 0.16; 'subject:install': 0.16; 'subject:python2.7': 0.16; 'wrote:': 0.17; 'fix': 0.17; 'ssl': 0.17; '>>>': 0.18; 'import': 0.21; '"",': 0.22; 'received:192.168.1.100': 0.22; 'cc:2**0': 0.23; 'cc:addr:python.org': 0.25; 'supported': 0.26; '(most': 0.27; 'am,': 0.27; 'python2.7': 0.29; 'url:mailman': 0.29; 'install': 0.29; 'url:python': 0.32; 'file': 0.32; 'url:listinfo': 0.32; 'says': 0.33; 'traceback': 0.33; 'true.': 0.33; 'version': 0.34; 'received:17': 0.35; 'but': 0.36; 'url:org': 0.36; 'skip:p 20': 0.36; 'subject:: ': 0.38; 'page': 0.38; 'received:192': 0.39; 'received:192.168': 0.40; 'url:mail': 0.40; 'john': 0.60; 'latest': 0.61; 'here': 0.65; 'home': 0.66; 'subject: ': 0.66; 'charset:gb2312': 0.77 MIME-version: 1.0 Content-type: text/plain; charset=GB2312; format=flowed; delsp=yes X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855,1.0.431,0.0.0000 definitions=2012-11-04_06:2012-11-03, 2012-11-04, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001 definitions=main-1211040226 From: John Gleeson To: =?GB18030?B?y66+ssH3ye4=?= <1248283536@qq.com> In-reply-to: Subject: Re: install pyOpenSSL in python2.7 X-Priority: 3 References: Content-transfer-encoding: quoted-printable Date: Sun, 04 Nov 2012 12:10:14 -0700 X-Mailer: Apple Mail (2.936) Cc: python-list X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 41 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1352059834 news.xs4all.nl 6916 [2001:888:2000:d::a6]:47224 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:32742 On 2012-11-03, at 2:58 AM, =CB=AE=BE=B2=C1=F7=C9=EE 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 "", line 1, in > File "/usr/local/lib/python2.7/dist-packages/OpenSSL/__init__.py", =20= > line 45, in > from OpenSSL import rand, SSL > ImportError: /usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.so: =20= > undefined symbol: SSLv2_method > > > how can i fix the problem? > ImportError: /usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.so: =20= > undefined symbol: SSLv2_method > > --=20 > http://mail.python.org/mailman/listinfo/python-list The pyOpenSSL home page at https://launchpad.net/pyopenssl says that =20 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 =20 expects it. - John