Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78996
| Path | csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!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.083 |
| X-Spam-Evidence | '*H*': 0.83; '*S*': 0.00; 'subject:Python': 0.06; 'importerror:': 0.07; 'bits': 0.09; 'python': 0.11; '(sorry': 0.16; '-make': 0.16; 'dict': 0.16; 'did,': 0.16; 'example)': 0.16; 'simple.': 0.16; 'ssh': 0.16; 'subject:install': 0.16; 'subject:versions': 0.16; 'sudo': 0.16; 'url:ftp': 0.16; 'version?': 0.16; 'module': 0.19; 'install': 0.23; '(see': 0.26; 'tried': 0.27; 'along': 0.30; 'code': 0.31; 'subject:what': 0.31; 'way?': 0.31; 'stuff': 0.32; 'run': 0.32; 'another': 0.32; 'linux': 0.33; 'url:python': 0.33; 'ago': 0.33; 'skip:_ 10': 0.34; 'subject:the': 0.34; "i'd": 0.34; 'could': 0.34; 'something': 0.35; 'test': 0.35; 'but': 0.35; 'version': 0.36; '2.6': 0.36; 'ubuntu': 0.36; 'done': 0.36; 'possible': 0.36; 'subject:?': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'list': 0.37; 'project': 0.37; 'system,': 0.38; 'thank': 0.38; 'easiest': 0.38; 'needed': 0.38; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'days': 0.60; 'eventually': 0.60; 'received:67.195': 0.60; 'received:98.137': 0.60; 'lower': 0.61; 'you.': 0.62; 'side': 0.67; 'header:Reply- To:1': 0.67; 'received:gq1.yahoo.com': 0.68; 'received:mail.gq1.yahoo.com': 0.68; 'default': 0.69; 'apart': 0.72; '../configure': 0.84; 'apt-get': 0.84; 'received:bullet.mail.gq1.yahoo.com': 0.84; 'us?': 0.84; 'medicine,': 0.91; 'education,': 0.96 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1413120956; bh=HWV30/YBZ76be7pdLTw+6O2diw2oTs+y76GQ61d98Lw=; h=Date:From:Reply-To:To:Subject:From:Subject; b=do7uoHV7uOLa1Bxg0nBQnnjGxGKGB4JlIU/VZ1x/f60NVrbKV69nVHZrtW9Udru92soG4tO4qR874+/hb4Ld3BJ8ORMUz3GTYD1b0IJBlFywxBkAzJpm6+gOyPgY1lhTOxnNPkB5hJTFIGNwz2cbUg2mDung7pU+INltJH/Ln+WEd6tJn2/RJQ7vs28uFJ269itIz2hAwp8RUDgAh1YrE0/zXpFzSqaTNip0TEUK9v5xZVIFdH6aQAzTrPnbkHMzMn/tUcGPU3PKGEeOG6JRhTL0UqI4w+Vz0qsI93NE/4FWqu79Oj3z86kpJY+AkLmy2v6ZRx5PHRx5GwLyiEmETw== |
| DomainKey-Signature | a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=ZXuZVsg8GhSoslkmR8eziuPwmgMKBFeuclUohCo0/ZJnRSBhdtwez48B2zB2QmKVpvQGEjfbKsJ0A4xfne4j3B21XNshgGnf4udK0ybGjgZ3Gn7qazjgdc/718mu1FEEyb674H//vvWLUnVxR/Xgnosw5DXceCsrThe0t2V6YRoQxqQwzon8GOBSorGLHLf5F7IOxmRXrpjTNeEgNpHG8rpYDxtg9rhw/BzB7xJebgoq4Qq4ctqGgO4+dB6/w0O6b5XRPrqNUNen5EDCCuPeJSPgSSoD++hS7Oa0ZBxZUJk5Fannkhsah912h+bnicF6I36RWyT8C4vaXNscnH8gDg==; |
| X-Yahoo-Newman-Property | ymail-4 |
| X-Yahoo-Newman-Id | 65307.36988.bm@omp1041.mail.gq1.yahoo.com |
| X-YMail-OSG | fNtNUDMVM1mljzWNXsGRH.3gui2HHg.YI5XjHw9h_pJd0iWrndrB4guVAnrAERo wsDF3JE9lrdU4hsGWJ2Fz6qufVX7.6KorG1I7KyDNEBNPui3qD7a8YjKj9xyrbuIgy5cMm_07ppH UwedOr4qFeHzwVDn7fr2PJKR_ev4Dui_rL88IfRxOWF3s7mZAqoeGro5ZdDQKYe5SsGl7c19G9FW wUS2uO6RNrCuvdwWvXI3xHumHREZFYgrED28LK3yzBpVaF5G_PWqgV1LRXbFdx0hdD3HgPLeK5UB dMU0boDOrtvyI7ZFoNsbjg1G0D4.bVKgcTkOd9um9keYrKnWTxLngBbBgnfB37vQNIDiXANmbRyI Mvm55emDNx7ypF8ef6VRcVrtyP8p7Aj6xT8uxmlwu1IwecbFTK3GeqrrqpqhKGDdmORjMDrS8HL_ V.hENerr01fodfaeTJsuKRUSvQ9rErSCixj_qIe_tow3xmbHjGH4lbTgYZieaE8b6dksg1tehRQl zy4MAjOb6_7us2ZxecCrga45kAgZu0f71bF0KtQRmtvDYzupCM7lChUMxs5ccx1xksTVh3JpbYiM bXaPZ4rDqNdRj8dPMn_SyuploBdsbzQ-- |
| Date | Sun, 12 Oct 2014 13:33:05 +0000 (UTC) |
| From | Albert-Jan Roskam <fomcl@yahoo.com> |
| To | Python <python-list@python.org> |
| Subject | 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 |
| 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.14786.1413120959.18130.python-list@python.org> (permalink) |
| Lines | 54 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1413120959 news.xs4all.nl 2833 [2001:888:2000:d::a6]:46579 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:78996 |
Show key headers only | View raw
Hi, (sorry for cross-posting) A few days ago I needed to check whether some Python code ran with Python 2.6. What is the easiest way to install another Python version along side the default Python version? My own computer is Debian Linux 64 bit, but a platform-independent solution would be best. Possible solutions that I am aware of -make altinstall *). This is what I tried (see below), but not all modules could be built. I gave up because I was in a hurry -Pythonbrew. This project is dead -Deadsnakes -Anaconda -Tox? I only know this is as a cross-version/implementation test runner -Vagrant. This is what I eventually did, and this was very simple. I ran Ubuntu 10.0.4 LTS, which uses Python 2.6, and used Vagrant SSH to run and check my code in Python 2.6 (and I replaced a dict comprehension with a list comprehension, for example) - ... What is the recommended way? I don't expect/hope that I'd ever need something lower than Python 2.5 Thank you. Albert-Jan *) 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a fresh water system, and public health, what have the Romans ever done for us? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
what is the easiest way to install multiple Python versions? Albert-Jan Roskam <fomcl@yahoo.com> - 2014-10-12 13:33 +0000
Re: what is the easiest way to install multiple Python versions? Rustom Mody <rustompmody@gmail.com> - 2014-10-12 19:31 -0700
Re: what is the easiest way to install multiple Python versions? Chris Angelico <rosuav@gmail.com> - 2014-10-13 18:54 +1100
Re: what is the easiest way to install multiple Python versions? Rustom Mody <rustompmody@gmail.com> - 2014-10-13 01:00 -0700
Re: what is the easiest way to install multiple Python versions? Chris Angelico <rosuav@gmail.com> - 2014-10-14 00:50 +1100
Re: what is the easiest way to install multiple Python versions? Albert-Jan Roskam <fomcl@yahoo.com> - 2014-10-16 08:32 +0000
csiph-web