Skip to content

Commit a8bb941

Browse files
committed
Update installing_Python.md
1 parent f84742c commit a8bb941

1 file changed

Lines changed: 30 additions & 18 deletions

File tree

notebooks/installing_Python.md

Lines changed: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,37 @@ Miniconda is a minimal installer for Conda. It includes the Conda package manage
1212

1313
## 2. Installing Miniconda
1414

15-
1. Go to the [Miniconda installation page](https://docs.conda.io/projects/miniconda/en/latest/)
15+
1. Go to the [Miniconda installation page](https://www.anaconda.com/docs/getting-started/miniconda/main) or the Miniconda repository at https://repo.anaconda.com/miniconda/
1616
2. Download the installer for your operating system (Windows, macOS, or Linux).
1717

1818
#### On windows
1919

20-
3. Run the downloaded `.exe` file.
21-
4. Follow the installation prompts. Use the default settings unless you have specific needs.
20+
3. Run the downloaded `.exe` file and follow the on-screen instructions.
2221

23-
#### On macOS or Linux
22+
#### On macOS/Linux
2423

25-
3. Open a terminal.
26-
4. Run the downloaded installer script. For example:
24+
3. If you downloaded the `.pkg` file (Graphical installer only on macOS) run the file and follow the on-screen instructions.
25+
3. If you downloaded the `.sh` file, open a terminal and run one of the following commands:
2726

2827
```bash
29-
bash Miniconda3-latest-MacOSX-x86_64.sh
28+
# macOS Apple silicon
29+
curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh
30+
31+
# macOS Intel
32+
curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
33+
34+
# Linux x86
35+
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
36+
37+
# Linux ARM64
38+
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh
3039
```
3140

32-
5. Follow the on-screen instructions.
41+
Follow the on-screen instructions.
42+
43+
If needed, more details on installing Miniconda here: https://www.anaconda.com/docs/getting-started/miniconda/install
44+
45+
3346

3447
> [!NOTE]
3548
> You can also install the full Anaconda distribution, which includes over 250 scientific packages. However, it requires more than 5 GB of disk space. For this course, Miniconda is recommended because it is lightweight and sufficient for our needs.
@@ -271,13 +284,12 @@ This will create a new environment with the name and packages specified in the f
271284

272285
## 5. List of common Conda commands
273286

274-
| Task | Command |
275-
| ----------------------------------------------- | --------------------------------------- |
276-
| Create a new environment | `conda create -n myenv python=3.11` |
277-
| Activate an environment | `conda activate myenv` |
278-
| List all environments | `conda env list` |
279-
| Install packages | `conda install numpy matplotlib pandas` |
280-
| List all packages and versions in a environment | `conda list` |
281-
| Update all packages in an environment | `conda update --all` |
282-
| Get general info of an environment | `conda info` |
283-
| Launch JupyterLab | `jupyter lab` |
287+
| Task | Command |
288+
| ---------------------------------------------------------- | --------------------------------------- |
289+
| Create a new environment | `conda create -name myenv python=3.11` |
290+
| Activate an environment | `conda activate myenv` |
291+
| List all environments | `conda env list` |
292+
| Install packages | `conda install numpy matplotlib pandas` |
293+
| List all the packages and their versions in an environment | `conda list` |
294+
| Update all the packages in the environment | `conda update --all` |
295+
| Obtain general information about an environment | `conda info` |

0 commit comments

Comments
 (0)