Once you have a link to your notebook post it into your topic to refer to your notebook. Note you can still post inline code snippets from the notebook to highlight specific code ideas, or changes.
Add your notebook to a public GitHub repo, along with an environment configuration file (e.g. an environment.yml specifying an Anaconda environment for your notebook). Enter the details of that repo at mybinder.org and you’ll be provided with a shareable link where people can actually run your notebook. (Note, mybinder.org is a community effort that relies on donors to provide cloud resources to run your notebooks. The project is currently at reduced capacity because one of the key funding sources has ended. If you use and like binder, maybe consider donating to the project.)
EnvironmentNotWritableError: The current user does not have write permissions to the target environment.
environment location: /g/data3/hh5/public/apps/miniconda3/envs/analysis3-22.10
uid: 5564
gid: 3204
Thanks!
1 Like
Aidan
(Aidan Heerdegen, ACCESS-NRI Release Team Lead)
3
You don’t need to install it, it is already in the conda/analysis3 environments:
$ which gh
/g/data3/hh5/public/apps/miniconda3/envs/analysis3-23.01/bin/gh
FYI you got this error message because you’re trying to install into the conda/analysis3-22.10 environment, which you don’t have write permissions to, and shouldn’t. The best way to add a package that isn’t in the conda environments, and which the CLEX team don’t wish to add, is to use
pip install <packagename> --user
which will install it into your ~/.local directory. Note that this really only works successfully for pure python packages, i.e. packages which do not have external dependencies on compiled libraries.
Simply add your notebook to a public GitHub repo, along with an environment configuration file (e.g. an environment.yml specifying an Anaconda environment for your notebook). Enter the details of that repo at mybinder.org and you’ll be provided with a shareable link where people can actually run your notebook.
(Note, mybinder.org is a community effort that relies on donors to provide cloud resources to run your notebooks. The project is currently at reduced capacity because one of the key funding sources has ended. If you use and like binder, maybe consider donating to the project.)
1 Like
Aidan
(Aidan Heerdegen, ACCESS-NRI Release Team Lead)
5
I should have said this before, but feel free to add that to the original topic @dougiesquire