From b479e81ff5efd145098a11a3e1c12e869d7c3c81 Mon Sep 17 00:00:00 2001 From: Kevin Tyle Date: Sun, 29 Sep 2024 20:47:12 -0400 Subject: [PATCH 1/3] Miniforge edits part 1 --- foundations/conda.md | 7 ++++--- foundations/jupyter.md | 2 +- foundations/terminal.md | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/foundations/conda.md b/foundations/conda.md index 5d4174f68..2f39568b3 100644 --- a/foundations/conda.md +++ b/foundations/conda.md @@ -31,16 +31,17 @@ Package management is useful because you may want to update a package for one of ## Installing Conda -We recommend you install Miniconda. You can do that by following the [instructions for your machine](https://docs.conda.io/en/latest/miniconda.html). +We recommend you install Miniforge. You can do that by following the [instructions for your machine](https://github.com/conda-forge/miniforge). -Miniconda only comes with the `conda` package management system; it is a pared-down version of the full Anaconda Python distribution. +Miniforge uses the `conda` package management system and is based on Miniconda, which is a pared-down version of the full Anaconda Python distribution. [Installing Anaconda](https://docs.anaconda.com/anaconda/install/) takes longer and uses up more disk space, but provides you with more functionality, including Spyder (a Python-specific integrated development environment or IDE) and Jupyter, in addition to other immediately installed packages. Also, the interface of Anaconda is great if you are uncomfortable with the terminal. -We recommend Miniconda for two reasons: +We recommend Miniforge for these reasons: 1. It's quicker and takes up less disk space. 2. It encourages you to install only the packages you need in reproducible isolated environments for specific projects. This is generally a more robust way to work with open source tools. +3. It uses `conda-forge` as the default channel for packages. Once you have `conda` via the Miniconda installer, the next step is to create an environment and install packages. diff --git a/foundations/jupyter.md b/foundations/jupyter.md index 763072c7f..f10519dc3 100644 --- a/foundations/jupyter.md +++ b/foundations/jupyter.md @@ -24,7 +24,7 @@ You'd like to learn to run Python in a Jupyter session. Here we will cover: To run a Jupyter session, you will need to install some necessary packages into your Conda environment. -Install `miniconda` by following the [instructions for your machine](https://docs.conda.io/en/latest/miniconda.html). +Install `miniforge` by following the [instructions for your machine](https://github.com/conda-forge/miniforge). [Learn more about Conda here](conda.md) diff --git a/foundations/terminal.md b/foundations/terminal.md index 49568964d..866186ebd 100644 --- a/foundations/terminal.md +++ b/foundations/terminal.md @@ -21,7 +21,7 @@ You'd like to learn to run Python in the terminal. Here we will cover: ## Installing Python in the Terminal -If you are running Python in the terminal, it is best to install Miniconda. You can do that by following the [instructions for your machine](https://docs.conda.io/en/latest/miniconda.html). +If you are running Python in the terminal, it is best to install Miniforge. You can do that by following the [instructions for your machine](https://github.com/conda-forge/miniforge). [Learn more about Conda here](conda.md) From 8a391a836a4341a30231c9956bb01915ff1f894f Mon Sep 17 00:00:00 2001 From: Kevin Tyle Date: Mon, 30 Sep 2024 15:02:04 +0000 Subject: [PATCH 2/3] Eliminate Anaconda distribution references --- foundations/jupyter.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/foundations/jupyter.md b/foundations/jupyter.md index f10519dc3..8211d6e62 100644 --- a/foundations/jupyter.md +++ b/foundations/jupyter.md @@ -41,11 +41,7 @@ $ conda activate pythia_foundations_env $ jupyter lab ``` -Or you can install the full [Anaconda](https://www.anaconda.com/products/distribution), and select **LAUNCH** under the Jupyter panel in the GUI. - -![Anaconda Navigator](../images/Anaconda.png) - -In both methods, a new window should open automatically in your default browser. You can change the browser when launching from the terminal with (for example): +A new window should open automatically in your default browser. You can change the browser when launching from the terminal with (for example): ``` jupyter lab —browser=chrome @@ -121,4 +117,5 @@ Jupyter notebooks are a free, open-source, interactive tool running inside a web ## Resources and References -- [Anaconda](https://www.anaconda.com/products/distribution) +- [conda-forge](https://conda-forge.org) +- [Miniforge Releases](https://conda-forge.org/miniforge/) From 66ccdbf65558c052d5d64c0cb63fcb5690654dbc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 15:04:47 +0000 Subject: [PATCH 3/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- foundations/conda.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foundations/conda.md b/foundations/conda.md index 2f39568b3..a936bf579 100644 --- a/foundations/conda.md +++ b/foundations/conda.md @@ -41,7 +41,7 @@ We recommend Miniforge for these reasons: 1. It's quicker and takes up less disk space. 2. It encourages you to install only the packages you need in reproducible isolated environments for specific projects. This is generally a more robust way to work with open source tools. -3. It uses `conda-forge` as the default channel for packages. +3. It uses `conda-forge` as the default channel for packages. Once you have `conda` via the Miniconda installer, the next step is to create an environment and install packages.