|
43 | 43 | "source": [ |
44 | 44 | "## Getting started with Jupyter\n", |
45 | 45 | "\n", |
46 | | - "* Start JupyterLab: there are different ways. From the command line, activate your anaconda environment and run `jupyter-lab`. You can also start in from Anaconda Navigator.\n", |
| 46 | + "* Start JupyterLab: there are different ways, depending on how you installed it. See the [installation instructions](https://aaltoscicomp.github.io/python-for-scicomp/installation/). If JupyterLab isn't working yet, you have some time to try to follow the installation instructions now.\n", |
| 47 | + "\n", |
| 48 | + "```````{tabs}\n", |
| 49 | + "``````{group-tab} Miniforge\n", |
| 50 | + "This is the command line method we went though in our installation instructions.\n", |
| 51 | + "`````{tabs}\n", |
| 52 | + "````{group-tab} Linux / MacOS\n", |
| 53 | + "```console\n", |
| 54 | + "$ source ~/miniforge3/bin/activate\n", |
| 55 | + "$ conda activate python-for-scicomp\n", |
| 56 | + "$ jupyter-lab\n", |
| 57 | + "```\n", |
| 58 | + "````\n", |
| 59 | + "````{group-tab} Windows\n", |
| 60 | + "Start the Miniforge Prompt applicaiton first, then:\n", |
| 61 | + "```console\n", |
| 62 | + "$ conda activate python-for-scicomp\n", |
| 63 | + "$ jupyter-lab\n", |
| 64 | + "```\n", |
| 65 | + "````\n", |
| 66 | + "``````\n", |
| 67 | + "``````{group-tab} Anaconda\n", |
| 68 | + "If you install the full Anaconda distribution, start the Anaconda Navigator. Make sure the ``python-for-scicomp`` environment is selected and you can start JupyterLab.\n", |
| 69 | + "``````\n", |
| 70 | + "``````{group-tab} Other\n", |
| 71 | + "If you have installed Python and the workshop's requiremnts some other way, you hopefully know how to activate that Python and the Python for SciComp software environment and start JupyterLab.\n", |
| 72 | + "\n", |
| 73 | + "If not, see the [installation instructions](https://aaltoscicomp.github.io/python-for-scicomp/installation/).\n", |
| 74 | + "``````\n", |
| 75 | + "```````\n", |
| 76 | + "\n", |
47 | 77 | "\n", |
48 | 78 | "For practical purposes, JupyterLab is an integrated development environment that combines file browsing, notebooks, and code editing. There are many extensions that let you do whatever you may need." |
49 | 79 | ] |
|
64 | 94 | "## Exercises 1\n", |
65 | 95 | "```{challenge} Exercises: Jupyter-1\n", |
66 | 96 | "\n", |
| 97 | + " If you aren't set up with JupyterLab yet or these things don't work, use this time to see the [installation instructions](https://aaltoscicomp.github.io/python-for-scicomp/installation/) and ask us any questions you may have.\n", |
| 98 | + "\n", |
67 | 99 | " 1. Start Jupyter in the directory you want to use for this course.\n", |
68 | | - " - If you are starting from the navigator, change to the directory you want to use.\n", |
69 | | - " - If you are starting from the command line, you should navigate to the directory you want to use first.\n", |
| 100 | + " - If you are using Miniforge from the command line, you can navigate with `cd` to a directory of your choice.\n", |
| 101 | + " - If you are starting from the Anaconda Navigator, change to the directory you want to use.\n", |
70 | 102 | "\n", |
71 | 103 | " 2. Create a Python 3 notebook file. Save it. In the next section, you will add stuff to it.\n", |
72 | 104 | "\n", |
|
431 | 463 | "name": "python", |
432 | 464 | "nbconvert_exporter": "python", |
433 | 465 | "pygments_lexer": "ipython3", |
434 | | - "version": "3.10.6" |
| 466 | + "version": "3.12.7" |
435 | 467 | } |
436 | 468 | }, |
437 | 469 | "nbformat": 4, |
|
0 commit comments