Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #32742

Re: install pyOpenSSL in python2.7

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 <jdgleeson@mac.com>
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 <jdgleeson@mac.com>
To 水静流深 <1248283536@qq.com>
In-reply-to <tencent_076433BE2F907DCA1FFFB14E@qq.com>
Subject Re: install pyOpenSSL in python2.7
X-Priority 3
References <tencent_076433BE2F907DCA1FFFB14E@qq.com>
Content-transfer-encoding quoted-printable
Date Sun, 04 Nov 2012 12:10:14 -0700
X-Mailer Apple Mail (2.936)
Cc python-list <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3266.1352059834.27098.python-list@python.org> (permalink)
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

Show key headers only | View raw


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


Thread

Re: install  pyOpenSSL  in python2.7 John Gleeson <jdgleeson@mac.com> - 2012-11-04 12:10 -0700

csiph-web