From 4493191d05332ab7f23316fd4c26b0ae93cfb35e Mon Sep 17 00:00:00 2001 From: Athanasius Date: Thu, 10 Mar 2022 11:54:51 +0000 Subject: [PATCH] More python version updates --- Running-from-source.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Running-from-source.md b/Running-from-source.md index 31831d1..e7d7986 100644 --- a/Running-from-source.md +++ b/Running-from-source.md @@ -28,15 +28,15 @@ for discussion about this. That might be fixed now, but if you're having issues with a HomeBrew version of Python the first thing we'll ask you to do is try again with the python.org version. -On Linux you should use your distribution's Python 3.x packages. Note that at -least Debian 10 still has 2.7.x as `python` and `pip`, and you will need to -specify `python3` (from the package of that name) and `pip3` (from -`python3-pip` in the commands below in order to use a 3.x version. +On Linux you should use your distribution's Python 3.x packages, so long as +they provide at least 3.9.x. Note that at least Debian 10 still has 2.7.x +as `python` and `pip`, and you will need to specify `python3` (from the +package of that name) and `pip3` (from `python3-pip` in the commands below +in order to use a 3.x version. -As and when we move from Python 3.7 to 3.9 or beyond you might find that -your Linux distribution is still only shipping Python 3.7, in which case -you will need to install a later version separately and ensure you are -using the correct version. +We have moved to Python 3.10 and if you find that your Linux distribution +is still only shipping Python 3.8 or earlier you will **HAVE** to install a +later version separately and ensure you are using the correct version. ### Using a non-distribution Python on, e.g. Debian @@ -78,23 +78,23 @@ One tested method to get a later Python on Debian 10.x is to utilise 1. Use `pyenv` to install a new version of Python: - pyenv install 3.9.2 + pyenv install 3.10.2 1. Check that version is now available: $ pyenv versions - 3.9.2 + 3.10.2 1. Activate that version and ensure shell is set up for it: - $ pyenv local 3.9.2 # You could use 'global' as well here + $ pyenv local 3.10.2 # You could use 'global' as well here $ eval "$(pyenv init -)" # Sets it in PATH $ which python /usr/local/pyenv/shims/python $ python --version - Python 3.9.2 + Python 3.10.2 1. Ensure `pip` is installed and up to date for this version: