Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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; 'installed.': 0.07; 'means,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'skip:/ 10': 0.09; 'subject:How': 0.10; 'python': 0.11; 'met.': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'sles': 0.16; 'subject:install': 0.16; 'subject:python2.7': 0.16; 'module': 0.19; '(but': 0.19; '(in': 0.22; 'installation': 0.23; 'header:User-Agent:1': 0.23; 'package.': 0.24; 'source': 0.25; 'extension': 0.26; 'header:X-Complaints-To:1': 0.27; 'installed': 0.27; 'usually': 0.31; 'writes:': 0.31; 'case,': 0.35; 'charset:us-ascii': 0.36; 'subject:?': 0.36; 'to:addr :python-list': 0.38; 'expect': 0.39; '(from': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'received:217': 0.63; 'subject:get': 0.81 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: dieter Subject: Re: How do I get zlib installed on a python2.7 alt install? Date: Wed, 11 Jun 2014 08:19:15 +0200 References: <4a45e1c3-1905-48d5-9602-8be7e16b68b9@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Gmane-NNTP-Posting-Host: pd9e09b65.dip0.t-ipconnect.de User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) Cancel-Lock: sha1:1pU+9ktnnFjDRomc4xQnS6++IPs= 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1402467573 news.xs4all.nl 2858 [2001:888:2000:d::a6]:41254 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73152 Nzyme11 writes: > Installed python 2.7.7 on SLES from source to /opt/python2.7. Usually, an extension module is build automatically during the Python generation (from source) when its preconditions are met. This usually means, that the relevant development packages are installed. In your case, this would mean the "zlib" development package. I expect (but did not verify) that a Python rebuild+reinstall after the "zlib" development package installation will make Python "zlib" module available (in this Python installation).