From f2ee620b4b3b53f2ca68b337d8e2c154b84fb548 Mon Sep 17 00:00:00 2001 From: CJ Steiner Date: Thu, 19 Dec 2024 16:30:30 -0600 Subject: [PATCH] install notes: update python install notes to not reference out of support python versions * Was updating some pypi packaging notes and saw a reference here * While looking - saw these were very out of date * Attempt to steer new developers towards newer versions of python that are still in support --- docs/starting/install3/linux.rst | 14 +++++++------- docs/starting/install3/osx.rst | 16 ++++------------ 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/docs/starting/install3/linux.rst b/docs/starting/install3/linux.rst index b02204bc0..355d10f21 100644 --- a/docs/starting/install3/linux.rst +++ b/docs/starting/install3/linux.rst @@ -7,7 +7,7 @@ Installing Python 3 on Linux .. image:: /_static/photos/34435689480_2e6f358510_k_d.jpg -This document describes how to install Python 3.6 or 3.8 on Ubuntu Linux machines. +This document describes how to install Python 3 on Ubuntu Linux machines. To see which version of Python 3 you have installed, open a command prompt and run @@ -15,17 +15,17 @@ To see which version of Python 3 you have installed, open a command prompt and r $ python3 --version -If you are using Ubuntu 16.10 or newer, then you can easily install Python 3.6 with the following commands:: +If you are using Ubuntu 16.10 or newer, then you can easily install Python 3 with the following commands:: $ sudo apt-get update - $ sudo apt-get install python3.6 + $ sudo apt-get install python3 -If you're using another version of Ubuntu (e.g. the latest LTS release) or you want to use a more current Python, we recommend using the `deadsnakes PPA `_ to install Python 3.8:: +If you're using another version of Ubuntu (e.g. the latest LTS release) or you want to use a more current Python, we recommend using the `deadsnakes PPA `_ to install Python 3:: $ sudo apt-get install software-properties-common $ sudo add-apt-repository ppa:deadsnakes/ppa $ sudo apt-get update - $ sudo apt-get install python3.8 + $ sudo apt-get install python3 If you are using other Linux distribution, chances are you already have Python 3 pre-installed as well. If not, use your distribution's package manager. @@ -37,8 +37,8 @@ For example on Fedora, you would use `dnf`: Note that if the version of the ``python3`` package is not recent enough for you, there may be ways of installing more recent versions as well, -depending on you distribution. For example installing the ``python3.9`` package -on Fedora 32 to get Python 3.9. If you are a Fedora user, you might want +depending on you distribution. For example installing the ``python3.13`` package +on Fedora 32 to get Python 3.13. If you are a Fedora user, you might want to read about `multiple Python versions available in Fedora`_. .. _multiple Python versions available in Fedora: https://developer.fedoraproject.org/tech/languages/python/multiple-pythons.html diff --git a/docs/starting/install3/osx.rst b/docs/starting/install3/osx.rst index fa90fb93a..0c71ce1a3 100644 --- a/docs/starting/install3/osx.rst +++ b/docs/starting/install3/osx.rst @@ -12,8 +12,7 @@ Installing Python 3 on Mac OS X **Mac OS X comes with Python 2.7 out of the box between versions 10.8 and 12.3.** If your Mac OS X version is between the above versions, -you do not need to install or configure anything else to use Python 2. These -instructions document the installation of Python 3. +you do not need to install or configure anything else to use Python. The version of Python that ships with OS X is great for learning, but it's not good for development. The version shipped with OS X may be out of date from the @@ -88,8 +87,8 @@ Homebrew installs ``pip`` pointing to the Homebrew'd Python 3 for you. Working with Python 3 ********************* -At this point, you have the system Python 2.7 available, potentially the -:ref:`Homebrew version of Python 2 ` installed, and the Homebrew + +At this point, you have the system Python available, and the Homebrew version of Python 3 as well. .. code-block:: console @@ -98,19 +97,12 @@ version of Python 3 as well. will launch the Homebrew-installed Python 3 interpreter. -.. code-block:: console - - $ python2 - -will launch the Homebrew-installed Python 2 interpreter (if any). - .. code-block:: console $ python3 will launch the Homebrew-installed Python 3 interpreter. -If the Homebrew version of Python 2 is installed then ``pip2`` will point to Python 2. If the Homebrew version of Python 3 is installed then ``pip`` will point to Python 3. The rest of the guide will assume that ``python`` references Python 3. @@ -119,7 +111,7 @@ The rest of the guide will assume that ``python`` references Python 3. # Do I have a Python 3 installed? $ python --version - Python 3.7.1 # Success! + Python 3.9.6 # Success! ***************************** pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy