Re: Python 3.8 or later on Debian?
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
Python 3.8 or later on Debian?
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... Greetings Ulrich -- Ulrich Goebel -- https://mail.python.org/mailman/listinfo/python-list
Re: Python 3.8 or later on Debian?
Python 3.7 is part of Buster (Debian old old stable) If you moved to Debian bullseye you would get offered 3.9 (old stable) Currently the stable version (Bookworm) would give you 3.11 I am not aware of anyone maintaining a repo for old Debian versions to get newer Python versions. But I know in the past I did build newer Python versions (mostly on raspberry pi’s) Regards Alexander Alexander Neilson Neilson Productions Limited 021 329 681 [email protected] > On 19 Sep 2024, at 10:42, 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... > > Greetings > Ulrich > > -- > Ulrich Goebel > -- > https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list
Re: Python 3.8 or later on Debian?
On 9/18/2024 10:49 AM, 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... My Debian 12 VM has python 3.11. You must have a very old version of Debian. On some VMs (not Debian, I think) I have had other Python versions alongside of the system's, e.g., 3.11 and 3.12. I didn't compile them myself. You will have to search for a repository with the right package. But upgrade your system first! -- https://mail.python.org/mailman/listinfo/python-list
