Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit 42b0689

Browse files
authored
Update WSL documentation (#309)
1 parent 7216564 commit 42b0689

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/WSL.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ Then, in PowerShell as Administrator:
2828
```
2929
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
3030
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
31+
```
32+
Restart your machine, then again in PowerShell:
33+
```
3134
wsl --set-default-version 2
3235
winget install ubuntu --version 20.04
3336
wsl --list --verbose
@@ -52,14 +55,12 @@ Note the "2" in Version column.
5255

5356
## Install git and Anaconda
5457

55-
Start the Windows Terminal app, create an Ubuntu tab, and inside that:
58+
Start the Windows Terminal app, create an Ubuntu tab. In the shell, run the following commands:
5659
- `sudo apt update`
57-
- `sudo apt install git`
58-
- `sudo apt-get install git-lfs`
60+
- `sudo apt install git git-lfs python-dev build-essential`
5961
- `wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh`
6062
- `sh Miniconda3-latest-Linux-x86_64.sh`
61-
- `sudo apt-get install python-dev`
62-
- `sudo apt-get install build-essential`
63+
- Close your WSL shell and re-start it
6364
- Clone repo or access your repos via /mnt/c/...
6465
- Create conda environment: `conda env create --file environment.yml`
6566
- Create a file in the top level directory of the repository, named `InnerEyeTestVariables.txt`, with one line:

0 commit comments

Comments
 (0)