Skip to content

Commit

Permalink
more update to windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaze committed Jan 15, 2025
1 parent 2befd67 commit 1f1b8ce
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:
- name: Check Google SDK 1
shell: cmd
run: |
C:\Program Files\google-cloud-sdk\bin\gcloud info
"C:\Program Files\google-cloud-sdk\bin\gcloud" info
- name: Check Google SDK 2
shell: cmd
Expand Down
25 changes: 21 additions & 4 deletions practice/environment/coiled/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,36 @@

### Local Python environment

- Download the *ds2-coiled-2025-binder* environment definition we created for the class from:
#### For MacOS and Linux systems

- Download the *ds2-coiled-2025-binder* environment definition we created for the class from here:
https://github.com/obidam/ds2-2025/blob/main/practice/environment/coiled/environment-coiled-pinned-binder.yml

- Note that if you're running on Windows, you must be working with this environment:
- Install and activate this Python 3.11 environment with a package manager like miniconda:
```bash
miniconda env create -f environment-coiled-pinned-binder.yml
miniconda activate ds2-coiled-2025-binder
```

#### For Windows system

- Download the *ds2-coiled-2025-binder-windows* environment definition we created for the class from here:
https://github.com/obidam/ds2-2025/blob/main/practice/environment/coiled/environment-coiled-pinned-binder-windows.yml

- Install and activate this Python 3.11 environment to easily connect to your Coiled account and GCP clusters:
- Install and activate this Python 3.11 environment with a package manager like miniconda:
```bash
miniconda env create -f environment-coiled-pinned-binder.yml
miniconda activate ds2-coiled-2025-binder
```

- Connect to your Coiled account:
- Finally, since the google-cloud-sdk library is not available with a package manager, it must be installed manually, and you need to install the specific release 502 from:
https://storage.googleapis.com/cloud-sdk-release/google-cloud-cli-502.0.0-windows-x86_64.zip

- Note that we won't actually use the Google Cloud SDK from the notebooks, but it is required by Coiled to setup the Dask cluster on the Google Cloud Perform. So, you don't need to configure the SDK with ``gcloud init``.

### Connect to Coiled

- You now need to connect to your Coiled account with the appropriate workspace:
```bash
coiled login --workspace class-2025
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies:
- seaborn = 0.13.2
- dask-ml = 2023.3.24
- coiled = 1.71.1
# - google-cloud-sdk = 502.0.0 # Installed manualy because not available for Windows
# - google-cloud-sdk = 502.0.0 # Installed manually because not available for Windows
- ipykernel = 6.29.0
- argopy = 0.1.14
- s3fs = 2023.12.2
Expand Down

0 comments on commit 1f1b8ce

Please sign in to comment.