Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #79203
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <fomcl@yahoo.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.014 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'python,': 0.02; 'subject:Python': 0.06; 'dev': 0.07; 'explicit': 0.07; 'importerror:': 0.07; 'bits': 0.09; 'considered,': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; '2.7?': 0.16; 'after,': 0.16; 'easier.': 0.16; 'fetch': 0.16; 'modules,': 0.16; 'rebuild': 0.16; 'subject:install': 0.16; 'subject:versions': 0.16; 'sudo': 0.16; 'url:ftp': 0.16; 'version?': 0.16; 'wow,': 0.16; 'x86_64': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'module': 0.19; 'trying': 0.19; 'version.': 0.19; 'work,': 0.20; 'manual': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'mon,': 0.24; 'cc:2**0': 0.24; 'script': 0.25; 'this:': 0.26; 'header:In-Reply- To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'start,': 0.30; '(which': 0.31; 'included': 0.31; 'program,': 0.31; 'getting': 0.31; 'easier': 0.31; '13,': 0.31; 'python"': 0.31; 'subject:what': 0.31; 'stuff': 0.32; 'option': 0.32; 'run': 0.32; 'url:python': 0.33; '-----': 0.33; 'skip:_ 10': 0.34; 'subject:the': 0.34; 'basic': 0.35; 'beyond': 0.35; 'but': 0.35; 'version': 0.36; 'really': 0.36; '2.6': 0.36; 'opposed': 0.36; 'method': 0.36; 'useful': 0.36; 'thanks': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'should': 0.36; 'server': 0.38; 'easiest': 0.38; 'needed': 0.38; 'skip:- 10': 0.38; 'track': 0.38; 'that,': 0.38; 'subject:': 0.39; '12,': 0.39; 'even': 0.60; 'easy': 0.60; 'received:98.137': 0.60; "you're": 0.61; 'first': 0.61; 'you.': 0.62; 're:': 0.63; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'header:Reply-To:1': 0.67; 'believe': 0.68; 'received:gq1.yahoo.com': 0.68; 'received:mail.gq1.yahoo.com': 0.68; 'default': 0.69; 'received:98.136': 0.69; 'power': 0.76; 'as:': 0.81; './configure': 0.84; 'all!': 0.84; 'apt-get': 0.84; 'build-dep': 0.84; 'received:bullet.mail.gq1.yahoo.com': 0.84; 'ships': 0.84; 'source?': 0.84; '"apt-get': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1413448952; bh=0bWAqZsm7NU591vC+ivVDFIhPYX8+lXRxc6z84nECdg=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=ohb//tSBdzBN/CefCVaP3byrqW9i7F6prJq+9xRZNV9nbHcIDZaOPvhNOWCDgT4VG0nm4QfY62MfUGXXHBlDlJNHNd6CkNsd3TMsu/Eb2CFChhtP97jLsN0/IvjJV+Zl3gVHavKpiEsnBAFqGegnDj7PTE/09jfDs+YFCXe3UwTIvGYtTbXdrpqVYee/Jgp3tqzBFTPclfjgg1sEcC+feVmNDsYKmbAepM0aLbyS/oIFc19RVnTfFiZ/3mejC9LNxU4I7J935cdS9pMD2x7IeuDNhB2l8MVqZahM+pzzk4XxYn8UfGtPw8KmXEtRcXjoLjTUqX5oCduHW1hQXDUg2Q== |
| DomainKey-Signature | a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=mBvoY9coK5GkqtRuI+v2dTvtnWZH0K8FlpWDnpbfM+vPOU7MrlO0Ydv8OtfIf62xoQ363JYjpGEsXt0UldGD0tFkF+75WZZD2rX/qScSZ0jErWrkLCf84CmTrMlXc0U/bBai5EWwosIxC/DbfaUW/bpQTnscImXO/BK5xsA4nM/1EMMPrGvsc1K2WznKMR6Q/DciWEN4vkzzyZhhT2kdZY1z0ZEacYc6KyMtvN0TN/GTkrdt+cXC9GMllzqj1DZ9zJKarLU1ZLC8iQ8GclqJRJJ7MM473N5k9hB8NhWBXF0S/W+TiS54ILpjNGokzLz6F1oK+5vs9l5octzK/JLY4w==; |
| X-Yahoo-Newman-Property | ymail-3 |
| X-Yahoo-Newman-Id | 113506.52470.bm@omp1044.mail.gq1.yahoo.com |
| X-YMail-OSG | L3skD8QVM1la6S1shLq1I69fLLNQo2i_EuEkowFIBYEegHmpZij6kHvxTo2yMEi sQmkZ8mv3P.8SUDubnNEfxz2kX94FyOEjFLcgRy0r23uv.wnhYl3e4kiJjdUCC1uQuj4DzCWzwLn kfJqlkOEzFfjLIu_3JS.7i4To5tI5pDSEOz.56KIW7Un.CKXOToPHqWfvnkKrTY.Issc9PLs0zM6 75fQE6JXqwUwuRV3D0zYQ.YK4AhORLN3nRN.4voLWaeTl1cUoP8CFseVgsySVnq99gdDwCbqnR9e PhABiNhGzc4a5f8NAW2OEi4N04Onj0VZsIYbhQv1CoQj2VzFldx10RX.n0e2ms6J2lOIQtsDEnC3 2OkLz9jNapU4ab15IQ1WIt_SnFSSiyNPwEo64iSiwnEW5TSIEOS04y1he4MNV6HyUsSFqTO8tSMr yDfC5r5MzB7W6g03Z3OecPHCsNXONElhOpVE6JsZhynUgrZWvoyLq2HqX.qdYtR1ABM4- |
| Date | Thu, 16 Oct 2014 08:42:31 +0000 (UTC) |
| From | Albert-Jan Roskam <fomcl@yahoo.com> |
| To | Chris Angelico <rosuav@gmail.com> |
| In-Reply-To | <CAPTjJmqXaxS5eQgRAX4FAqsUOMHoXmZKrw=VtY7VKAD8QrUT9w@mail.gmail.com> |
| References | <CAPTjJmqXaxS5eQgRAX4FAqsUOMHoXmZKrw=VtY7VKAD8QrUT9w@mail.gmail.com> |
| Subject | Re: what is the easiest way to install multiple Python versions? |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| Cc | Python <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| Reply-To | Albert-Jan Roskam <fomcl@yahoo.com> |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.14917.1413449145.18130.python-list@python.org> (permalink) |
| Lines | 73 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1413449145 news.xs4all.nl 2844 [2001:888:2000:d::a6]:50892 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:79203 |
Show key headers only | View raw
----- Original Message ----- > From: Chris Angelico <rosuav@gmail.com> > To: > Cc: Python <python-list@python.org> > Sent: Sunday, October 12, 2014 4:20 PM > Subject: Re: what is the easiest way to install multiple Python versions? > > On Mon, Oct 13, 2014 at 12:33 AM, Albert-Jan Roskam > > <fomcl@yahoo.com.dmarc.invalid> wrote: >> *) Make altinstall >> sudo apt-get install libsqlite3-dev libbz2-dev libgdbm-dev libncurses5-dev > tk-dev zlib1g-dev >> wget https://www.python.org/ftp/python/2.6.8/Python-2.6.8.tgz >> tar -zxvf Python-2.6.8.tgz >> cd Python-2.6.8/ >> ./configure --prefix=/usr/local >> make # see 'failed stuff' below >> sudo make altinstall >> mkvirtualenv -p /usr/local/bin/python2.6 python26 # ImportError: No module > named zlib >> >> >> # Failed stuff >> Failed to find the necessary bits to build these modules: >> _bsddb _curses _curses_panel >> _hashlib _sqlite3 _ssl >> bsddb185 bz2 dbm >> dl gdbm imageop >> linuxaudiodev ossaudiodev readline >> sunaudiodev zlib > > Generally, this is the method I would recommend. For a start, run this: > > sudo apt-get build-dep python Aha, useful tip. But won't this (re)build the dependencies of the default python version? Or should I do sudo apt-get build-dep python-2.6? > This is in place of your explicit "apt-get install" command; Debian > keeps track of the dev packages needed to rebuild a given program, and > will go fetch them for you. > > After that, just look at exactly what packages you're still lacking. > You may well find that you don't have all the dependencies for all > Python modules, as some of them might not be included in a basic > "apt-get install python" installation; the solution is a bit more > "apt-get build-dep" work, or some manual hunting down of dev packages > (which may well be easier in some situations). > > But what version of Debian are you after, and why are you trying to > build a 2.6.8 from source? On Debian Wheezy, getting hold of Python > 2.6 should be as easy as: > > $ sudo apt-get install python2.6 > > I believe Squeeze ships 2.6 as its standard system Python, so it's > even easier. Are you on the unreleased Jessie? And why do you even > need 2.6 as opposed to 2.7? I am on Debian 7.6, Wheezy (Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux). Wow, so it is really this simple? This was actually the first option I considered, but I was sooooo paranoid to ruin my default Python version. Reason why I need Python 2.6? The script needs to run on a server that turned out to have Python 2.6. It is beyond my power to upgrade the Python version. Thanks all!
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: what is the easiest way to install multiple Python versions? Albert-Jan Roskam <fomcl@yahoo.com> - 2014-10-16 08:42 +0000
csiph-web