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


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

Re: How to install older python version on Debian

Path csiph.com!4.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Geert Stappers <stappers@stappers.nl>
Newsgroups linux.debian.maint.python
Subject Re: How to install older python version on Debian
Date Fri, 26 Mar 2021 07:50:01 +0100
Message-ID <BWOs9-6aP-3@gated-at.bofh.it> (permalink)
References <BWJVw-3cu-3@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Mar 26 06:45:53 2021
Old-Return-Path <stappers@stappers.nl>
X-Amavis-Spam-Status No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent NeoMutt/20170113 (1.7.2)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/19079
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20210326064537.aohhdcdr543k7irx@gpm.stappers.nl
Approved robomod@news.nic.it
Lines 51
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 26 Mar 2021 07:45:37 +0100
X-Original-Message-ID <20210326064537.aohhdcdr543k7irx@gpm.stappers.nl>
X-Original-References <c21e9409-38b2-c457-e442-3efb8bada281@gmail.com>
Xref csiph.com linux.debian.maint.python:13292

Show key headers only | View raw


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], but on debian I wondering
> how I can achieve the same thing, as it look like and I guess older python
> are not available directly on repository
> 
> $ sudo apt-cache pkgnames python3.
> python3.9-venv
> python3.9-examples
> python3.9-full
> python3.9-dbg
> python3.9-dev
> python3.9-doc
> python3.9
> python3.9-minimal
> 
> If my guest are right. Could you suggest me a solution how to have multiple
> python version so I can load inside venv?
> 
> [1] https://robbinespu.gitlab.io/blog/2019/07/23/Python-36-with-VirtualEnv/
> 

As I understand the question is it

} What is the equivalent of
}   sudo dnf install python36
} so that I can do
}   virtualenv --python=/usr/bin/python3.6 foo
}   source foo/bin/activate




Groeten
Geert Stappers
-- 
Silence is hard to parse

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