On 19/09/24 02:49, Ulrich Goebel via Python-list wrote:
Hi,

Debian Linux seems to love Python 3.7 - that is shown by apt-get list, and it's 
installed on my Debian Server.

But I need at least Python 3.8

Is there a repository which I can give to apt to get Python 3.8 or later?

Or do I really have to install and compile these versions manually? I'm not a 
friend of things so deep in the system...


Assumptions:
1 "need" for a particular project, cf system-wide
2 use of a virtual-environment for project(s)


Try pyenv (https://github.com/pyenv/pyenv).

It offers a list of Python versions. When downloaded, it builds a version for you - assuming have build-environment s/w in place.
(this is where my lack of Debian knowledge may become obvious)

Thereafter, within the project's virtual-environment can select which (installed-version of) Python is to be used.

Am sure there are plenty of how-to-installs. Here's one:
https://bgasparotto.com/install-pyenv-ubuntu-debian

Am using pyenv to support multiple projects initially built during the reign of multiple Python versions (which now update annually - next is about two weeks away).

--
Regards,
=dn
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to