You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: setup.md
+9-37
Original file line number
Diff line number
Diff line change
@@ -2,46 +2,19 @@
2
2
title: Setup
3
3
---
4
4
5
-
## Installing Python Using Anaconda
6
-
Python is a popular language for research computing, and great for general-purpose programming as well. Installing all of its research packages individually can be a bit difficult, so we recommend Anaconda, an all-in-one installer.
5
+
## Installing Python Using Miniforge
7
6
8
-
Regardless of how you choose to install it, please make sure you install Python 3.6 or above. The latest 3.x version recommended on [Python.org][python] is fine.
7
+
[Python](https://python.org) is a popular language for scientific computing, and great for general-purpose programming as well.
8
+
For this workshop we use Python version 3.x.
9
+
Installing all of its scientific packages individually can be a bit difficult, so we provide an environment file to help you take care of them all together.
10
+
We will use the _Miniforge_ distribution of Python.
9
11
10
-
We will teach Python using JupyterLab, a programming environment that runs in a web browser (JupyterLab will be installed by Anaconda). For this to work you will need a reasonably up-to-date browser. The current versions of the Chrome, Safari and Firefox browsers are all supported (some older browsers, including Internet Explorer version 9 and below, are not).
11
-
12
-
::::::::::::::::: tab
13
-
14
-
### Windows
15
-
16
-
[Watch a video tutorial for Windows][video-windows].
17
-
18
-
1. Open [anaconda.com/download][anaconda-dl] with your web browser.
19
-
2. Download the Anaconda for Windows installer with Python 3. (If you are not sure which version to choose, you probably want the 64-bit Graphical Installer *Anaconda3-...-Windows-x86_64.exe*)
20
-
3. Install Python 3 by running the Anaconda Installer, using all of the defaults for installation except make sure to check *Add Anaconda to my PATH environment variable*.
21
-
22
-
### Mac
23
-
24
-
[Watch a video tutorial for Mac][video-mac].
25
-
26
-
1. Open [anaconda.com/download][anaconda-dl] with your web browser.
27
-
2. Download the Anaconda Installer with Python 3 for macOS (you can either use the Graphical or the Command Line Installer).
28
-
3. Install Python 3 by running the Anaconda Installer using all of the defaults for installation.
29
-
30
-
### Linux
31
-
32
-
Note that the following installation steps require you to work from the shell. If you aren't comfortable doing the installation yourself stop here and request help from the workshop organizers.
33
-
34
-
1. Open [anaconda.com/download][anaconda-dl] with your web browser.
35
-
2. Download the Anaconda Installer with Python 3 for Linux.
36
-
3. Open a terminal window and navigate to the directory where the executable is downloaded (e.g., `cd ~/Downloads`).
37
-
4. Type `bash Anaconda3` and press <kbd>Tab</kbd> to auto-complete the full file name. The name of file you just downloaded should appear.
38
-
5. Press <kbd>Enter</kbd> (or <kbd>Return</kbd> depending on your keyboard). You will follow the text-only prompts. To move through the text, press <kbd>Spacebar</kbd>. Type `yes` and press <kbd>Enter</kbd> to approve the license. Press <kbd>Enter</kbd> (or <kbd>Return</kbd>) to approve the default location for the files. Type `yes` and press <kbd>Enter</kbd> (or <kbd>Return</kbd>) to prepend Anaconda to your PATH (this makes the Anaconda distribution the default Python).
39
-
6. Close the terminal window.
40
-
41
-
:::::::::::::::::::::::::
12
+
Please refer to the [Python section of the workshop website for installation instructions](https://carpentries.github.io/workshop-template/install_instructions/#python).
42
13
43
14
## JupyterLab
44
-
We will teach Python using JupyterLab, a part of a family of [Jupyter][jupyter] tools that includes Jupyter Notebook and JupyterLab, both of which provide interactive web environments where you can write and run Python code. If you installed Anaconda, JupyterLab is installed on your system. If you did not install Anaconda, you can [install JupyterLab][jupyter-install] on its own using conda, pip, or other popular package managers.
15
+
We will teach Python using JupyterLab, a part of a family of [Jupyter][jupyter] tools that includes Jupyter Notebook and JupyterLab, both of which provide interactive web environments where you can write and run Python code.
16
+
If you followed the instructions linked above, JupyterLab is installed on your system.
17
+
Alternatively, you can [install JupyterLab][jupyter-install] on its own using conda, pip, or other popular package managers.
45
18
46
19
## Download the data
47
20
@@ -53,7 +26,6 @@ This lesson uses circulation data in multiple CSV files from the Chicago Public
0 commit comments