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: episodes/getting-started.md
+10-12
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ Here a few areas where you might apply Python in your work.
51
51
52
52
## Use JupyterLab to edit and run Python code.
53
53
54
-
If you haven't already done so, see [the setup instructions](../learners/setup.md) for details on how to install JupyterLab and Python via Anaconda. The setup instructions also walk you through the steps you should follow to create an `lc-python` folder on your Desktop, and to download and unzip the dataset we'll be working with inside of that directory.
54
+
If you haven't already done so, see [the setup instructions](../learners/setup.md) for details on how to install JupyterLab and Python using Miniforge. The setup instructions also walk you through the steps you should follow to create an `lc-python` folder on your Desktop, and to download and unzip the dataset we'll be working with inside of that directory.
55
55
56
56
### Getting started with JupyterLab
57
57
To run Python, we are going to use Jupyter Notebooks via [JupyterLab][jupyterlab]. Jupyter notebooks are common tools for data science and visualization, and serve as a convenient environment for running Python code interactively where we can view and share the results of our Python code.
@@ -76,10 +76,15 @@ Once you have created the `lc-python` directory on your Desktop, you can start J
76
76
#### Mac users - Command Line
77
77
78
78
1. Press the <kbd>cmd</kbd> + <kbd>spacebar</kbd> keys and search for `Terminal`. Click the result or press <kbd>return</kbd>. (You can also find `Terminal` in your `Applications` folder, under `Utilities`.)
79
-
2. After you have launched Terminal, change directories to the `lc-python` folder you created earlier and type `jupyter lab`. Note that the `$` sign is used to indicate a command to be typed on the command prompt, but we never type the `$` sign itself, just what follows after it.
79
+
2. After you have launched Terminal, change directories to the `lc-python` folder you created earlier.
80
+
3. Next run `conda activate carpentries` to launch a Python environment which includes Jupyter Notebooks and other tools we will need to proceed through the lesson.
81
+
4. Finally, type `jupyter lab` which should open a browser window where you can run Jupyter Notebooks.
82
+
83
+
Note that the `$` sign is used to indicate a command to be typed on the command prompt, but we never type the `$` sign itself, just what follows after it.
80
84
81
85
```bash
82
86
$ cd ../Desktop/lc-python
87
+
$ conda activate carpentries
83
88
$ jupyter lab
84
89
```
85
90
@@ -89,22 +94,15 @@ To start the JupyterLab server you will need to access the Anaconda Prompt.
89
94
90
95
1. Press the <kbd>Windows Logo Key</kbd> and search for `Anaconda Prompt`, click the result or press enter.
91
96
92
-
2. Once you have launched the Anaconda Prompt, type the command `jupyter lab`. Note that the `$` sign is used to indicate a command to be typed on the command prompt, but we never type the `$` sign itself, just what follows after it.
97
+
2. Once you have launched the Anaconda Prompt, type the command `jupyter lab`.
98
+
99
+
Note that the `$` sign is used to indicate a command to be typed on the command prompt, but we never type the `$` sign itself, just what follows after it.
93
100
94
101
```bash
95
102
$ cd ..\Desktop\lc-python
96
103
$ jupyter lab
97
104
```
98
105
99
-
#### Start JupyterLab from Anaconda Navigator
100
-
If you are unfamiliar with the command line, you can launch JupyterLab by opening the Anaconda Navigator app and choosing the `Launch` button underneath the JuypterLab icon.
101
-
102
-
First [start Anaconda Navigator (click for detailed instructions on macOS, Windows, and Linux)](https://docs.anaconda.com/free/navigator/getting-started/#navigator-starting-navigator). You can search for Anaconda Navigator via Spotlight on macOS (<kbd>Command</kbd> + <kbd>spacebar</kbd>), or by using the Windows search function (<kbd>Windows Logo Key</kbd>).
103
-
104
-
After you have launched Anaconda Navigator, click the `Launch` button under JupyterLab. You may need to scroll down to find it. Here is a screenshot of an Anaconda Navigator page similar to the one that should open on either macOS or Windows.
105
-
106
-
{alt='screenshot of the launch button for JuypterLab in Anaconda Navigator'}
107
-
108
106
## The JupyterLab Interface
109
107
110
108
Launching JupyterLab opens a new tab or window in your preferred web browser. While JupyterLab enables you to run code from your browser, it does not require you to be online. If you take a look at the URL in your browser address bar, you should see that the environment is located at your localhost, meaning it is running from your computer: `http://localhost:8888/lab`.
0 commit comments