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
+20-2Lines changed: 20 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,8 +93,16 @@ If you run into any difficulties, please request help before the workshop begins
93
93
94
94
:::::::::::::::::::::::::
95
95
96
+
### Setting up the workshop environment from Anaconda
97
+
After installing Anaconda follow the steps below:
98
+
1. Open [https://raw.githubusercontent.com/carpentries-incubator/geospatial-python/main/files/environment.yaml][https://raw.githubusercontent.com/carpentries-incubator/geospatial-python/main/files/environment.yaml] in your web browser, right-click on the page, and select Save As... Keep the default name and click Save.
99
+
2. Open Anaconda-Navigator and click the **Environments** tab on the left of the GUI.
100
+
3. Then while on the **Environments** tab, from the bottom of the GUI click **Import**.
101
+
4. From the popup that appears, click the folder icon next to the local drive text field and choose the "environment.yaml" file downloaded earlier.
102
+
5. Accept the default name, then click the ""Import"" button from the popup and wait while the environment is created.
103
+
6. Now click the newly created **geospatial** environement. A play icon should appear next to it once activated.
96
104
97
-
### Setting up the workshop environment
105
+
### Setting up the workshop environment using conda
98
106
99
107
If Anaconda was properly installed, you should have access to the `conda`
100
108
command in your terminal (use the **Anaconda prompt** on **Windows**).
@@ -161,7 +169,17 @@ environment with `conda activate geospatial` to use the Python libraries
161
169
required for the lesson and to start JupyterLab, which is also installed in the
162
170
`geospatial` environment.
163
171
164
-
### Starting JupyterLab
172
+
### Starting JupyterLab from Anaconda-Navigator
173
+
With the **geospatial** virtual environment selected from the **Environements** tab:
174
+
Click the **Home** tab and then click the Launch button beneath JupyterLab.
175
+
176
+
Once you have launched JupyterLab, create a new Python 3 notebook, type the following code snippet in a cell and press the "Play" button:
177
+
178
+
```python
179
+
import rioxarray
180
+
```
181
+
182
+
### Starting JupyterLab from the Command Line
165
183
166
184
In order to follow the lesson, you should launch JupyterLab. After activating the
167
185
geospatial conda environment, enter the following command in your terminal (use the **Anaconda prompt** on **Windows**):
0 commit comments