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


Groups > linux.debian.maint.python > #13294

Re: How to install older python version on Debian

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From "{Pokoradi, Balazs}" <pokoradi.1899@gmail.com>
Newsgroups linux.debian.maint.python
Subject Re: How to install older python version on Debian
Date Fri, 26 Mar 2021 10:40:01 +0100
Message-ID <BWR6F-80K-1@gated-at.bofh.it> (permalink)
References <BWJVw-3cu-3@gated-at.bofh.it> <BWOVb-6E1-3@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Mar 26 09:36:14 2021
Old-Return-Path <pokoradi.1899@gmail.com>
X-Amavis-Spam-Status No, score=-5.449 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-wm1-x335.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=2lTsdfgF/8EfxrDvs/gVZkYt1HcoI/xio/WOZmKZQBA=; b=q6fHsD42n+IawXboFJq++BuMLOjQr4F/rNRxQUt63v3LtQ0yb4k8OB3Yiplbck9Hxc CkFCwh4BngUOxOM/XdVqx/bRuPX/edKT65XKEfoSB/n4g9/3zSyNRNYnobjUxag6DHM3 bYmwm7vTtkLgH+i2J8tvZjZxC0viUH8WQhJVcwkO78PctAFoGqTEohxPMh2YBNrhJohE sZFo+4NCtzIw2rWKTHYVtQTvh9a5dhffb4P9+ZFYRHehZYeGpG6t0NytnPNIDfaD7yQO bKQJ46cbQBxnz2rPgCe9qwp3PEMQ8OVbVnENAhih3G+12nLtO2gDT83xeRqhfl0STHRC yvSg==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=2lTsdfgF/8EfxrDvs/gVZkYt1HcoI/xio/WOZmKZQBA=; b=eccCzVt1AoRwiY3/s/Hy97cZFH9uL3gvaPo40XzlWN8R9sxukcn3Rxp/Z/1f1PsJGA z7YlyYp9dBKGBRv7wox+mupw4dMp2/AmtxkFh43QEBEaaAYi/BC12M3aEojqtb161PGC P90qYHKfdTukY00KiupPsESPl5p9pGIU4lBUP2r/bdgLFHJaZZVzL6kUzcsRYe9l+vEl osq0qV5HIdfXpQ6nEV2h6yafZdGnrwqrcBONCGQSsreRiVPO4Cvd4dFtgq0GskjELng+ 48SbKdhMS7yPiSlEVv+bP2kDqRFohmi7PZuFS1ZTf/bFUXhX/GgiTYNrlLItZ8HLjf05 sD3w==
X-Gm-Message-State AOAM530c5WfX4RpbwBkzxIoyCSGAhjIM5x1PJi9rlcHwhNRNe9sfl+4m oe3rvW8VC+nRy7CUUeBwFPMIS1+kWS4=
X-Google-SMTP-Source ABdhPJytCIFSItnpoVNvsW8XjQf3WUJD8ccsKEckviufxoN7OE2gbnwArqttL5C4PGuUoMG1Eih/FA==
X-Received by 2002:a7b:c083:: with SMTP id r3mr12097023wmh.177.1616751358177; Fri, 26 Mar 2021 02:35:58 -0700 (PDT)
Content-Type text/plain; charset=utf-8
MIME-Version 1.0 (1.0)
X-Mailer iPhone Mail (16H22)
Content-Transfer-Encoding quoted-printable
X-Mailing-List <debian-python@lists.debian.org> archive/latest/19081
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/B47717DA-A70C-4D43-8914-914EFA02E19A@gmail.com
Approved robomod@news.nic.it
Lines 44
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org
X-Original-Date Fri, 26 Mar 2021 09:35:56 +0000
X-Original-Message-ID <B47717DA-A70C-4D43-8914-914EFA02E19A@gmail.com>
X-Original-References <c21e9409-38b2-c457-e442-3efb8bada281@gmail.com> <YF2Ju3V+HCAXAciQ@belkar.wrar.name>
Xref csiph.com linux.debian.maint.python:13294

Show key headers only | View raw


Hello,

I’d suggest you build it from source (python.org/ftp... with the needed version) as an additional python version, and then create your venv using the 3.6.

You can dm me if you might need more details.

Best regards,
Balazs

Отправлено с iPhone

> 26 марта 2021 г., в 7:14, Andrey Rahmatullin <wrar@debian.org> написал(а):
> 
>> On Fri, Mar 26, 2021 at 09:55:03AM +0800, Robbi Nespu wrote:
>> Dear Debian Python,
>> 
>> I would like to install older python (version 3.6) on my venv environment
>> 
>> $ inxi -S
>> System:    Host: debian Kernel: 5.10.0-4-amd64 x86_64 bits: 64 Desktop: KDE
>> Plasma 5.20.5
>>           Distro: Debian GNU/Linux bullseye/sid
>> 
>> (venv)$ python --version
>> Python 3.9.2
>> 
>> on fedora I can easily do something like this[1],
> This only works as long as the version you need is in the repo. It's
> expected that a 2019 distro with 3.7 as the default may also include 3.6,
> which is somewhat different from what you expect here.
> 
>> If my guest are right. Could you suggest me a solution how to have multiple
>> python version so I can load inside venv?
> Build it manually and install it somewhere in your user directory or use
> pyenv.
> 
> -- 
> WBR, wRAR

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to install older python version on Debian Robbi Nespu <robbinespu@gmail.com> - 2021-03-26 03:00 +0100
  Re: How to install older python version on Debian Geert Stappers <stappers@stappers.nl> - 2021-03-26 07:50 +0100
  Re: How to install older python version on Debian Andrey Rahmatullin <wrar@debian.org> - 2021-03-26 08:20 +0100
    Re: How to install older python version on Debian "{Pokoradi, Balazs}" <pokoradi.1899@gmail.com> - 2021-03-26 10:40 +0100
      Re: How to install older python version on Debian Andrey Rahmatullin <wrar@debian.org> - 2021-03-26 11:20 +0100
      RE:How to install older python version on Debian PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2021-03-26 11:30 +0100

csiph-web