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
You don’t need to install it, it is already in the condo/analysis3 environments:
$ which 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.)