Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OHW22 Python tutorial environment changes #48

Open
abkfenris opened this issue Jul 28, 2022 · 7 comments
Open

OHW22 Python tutorial environment changes #48

abkfenris opened this issue Jul 28, 2022 · 7 comments

Comments

@abkfenris
Copy link
Collaborator

abkfenris commented Jul 28, 2022

Please comment with any Python packages that are need for OHW22 tutorials here. We are looking to get all of these at least a week before the main event starts, so we aren't changing anything for the undergrads!

Users can create their own conda environments for projects, so those packages do not need to be installed into the base environment (which will help keep it smaller and faster).

Please use a checkbox for each package so we can track what has been added, ex:

- [ ] some-awesome-package, link to documentation if the conda package isn't obvious to someone who doesn't use it

The current Python environment is defined in https://github.com/oceanhackweek/jupyter-image/blob/main/py-base/environment.yml

@emiliom
Copy link
Member

emiliom commented Jul 28, 2022

For Python env:

  • fsspec (https://anaconda.org/conda-forge/fsspec). Though, other packages (eg, echopype) probably already install it as a dependency (the same is true for other packages currently listed, such as numpy and s3fs); better to be explicit?

On a different note, git and nb_conda_kernels are listed twice in the Python env file. Twice the goodness?

@abkfenris
Copy link
Collaborator Author

abkfenris commented Aug 3, 2022

Fsspec has been explictly added, but I should make sure some of the IAAS libraries are included.

  • s3fs
  • gcsfs
  • abfs

@gmanuch
Copy link

gmanuch commented Aug 4, 2022

We need tensorflow for the undergraduate program tutorial on Friday, Aug 12.

https://www.tensorflow.org/install

We will also be using tensorflow for projects and it's a pain to install, so I'd say it is necessary to pre-install it beforehand instead of asking for each user to do it on their own.

You can install the CPU version of tensorflow if the GPU version is too much of a trouble to install.

@abkfenris
Copy link
Collaborator Author

abkfenris commented Aug 5, 2022

@abkfenris
Copy link
Collaborator Author

@gmanuch Conda makes it easy to install either version of Tensorflow, but as we don't have GPUs, and the GPU accelerated version easily doubled the size of the build, I installed tensorflow-cpu.

If you truly have projects and tutorials that would benefit from GPU accelleration, it would probably be worth making a Conda environment that participants can install locally to use.

@emiliom
Copy link
Member

emiliom commented Aug 15, 2022

This request is not Python specific. Maybe it belongs in both Python and R.

  • nano

There's interest here (NW satellite) in having nano available. We mention nano in https://oceanhackweek.github.io/resources/prep/git.html#terminal-command-line-text-editor, but of course, if need be we can edit that text to remove mention of nano ... and replace it with notepad, maybe 🙄

@abkfenris
Copy link
Collaborator Author

Nano is in #58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants