[INFRA-290] Please install ipympl on tiger Created: 17/Mar/21 Updated: 01/Dec/21 Resolved: 01/Dec/21 |
|
| Status: | Done |
| Project: | Software Development Infrastructure |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Normal |
| Reporter: | rhl | Assignee: | price |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Reviewers: | hassan |
| Description |
|
Please install ipympl into the stack conda environment on tiger for use in notebooks. |
| Comments |
| Comment by price [ 17/Mar/21 ] |
|
ncaplar has some things to add too. |
| Comment by ncaplar [ 17/Mar/21 ] |
|
I apologize for the delay. I am using few notebook extensions (e.g., see here : https://towardsdatascience.com/jupyter-notebook-extensions-517fa69d2231 or https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/install.html) .Particular extensions I am using are code_prettify, collapsible_headings, codefolding, execute_time and toc2. If those would be available that would be lovely (but these can be installed by user only without touching the main part, I think)- but at least support for extensions would be very valuable. |
| Comment by ncaplar [ 19/Mar/21 ] |
|
Also, module tqdm is nice, for monitoring progress of calculations. |
| Comment by arnaud.lefur [ 27/Mar/21 ] |
|
Please add pandas too. |
| Comment by price [ 27/Mar/21 ] |
|
Add psycopg2. |
| Comment by rhl [ 03/Apr/21 ] |
|
Please add ginga. More completely, my (old?) instructions read:
Quick Start Instructions
------------------------
Install, via e.g. conda or pip:
- ipywidgets
- ipyevents
- ginga
Register the Jupyter extensions with::
jupyter nbextension enable --py --sys-prefix widgetsnbextension
jupyter nbextension enable --py --sys-prefix ipyevents
|
| Comment by price [ 22/Sep/21 ] |
|
I have installed jupyter, astroplan, ipython jupyter_contrib_nbextensions, and ginga on the Hilo cluster, and added them to the standard install script. I have not been able to conda install on the tiger cluster, because I get Permission denied errors. I think ncaplar needs to fix the permissions (and double-check his umask), e.g.: drwxr-sr-x. 3 ncaplar hsc 4096 Mar 3 2020 /projects/HSC/PFS/stack/20190925/python/miniconda3-4.5.12/lib/python3.7/site-packages/backcall/ The lines to install the packages:
conda install -y --no-update-dependencies jupyter ipython ipympl psycopg2 'sqlalchemy>=1.4' ipywidgets
conda install -y --no-update-dependencies -c conda-forge jupyter_contrib_nbextensions astroplan ipyevents ginga
|
| Comment by hassan [ 22/Sep/21 ] |
|
Changes look fine to me. |
| Comment by price [ 22/Sep/21 ] |
|
Merged the changes. Will wait until we can actually implement on tiger before closing this ticket, but that's blocked on ncaplar. |
| Comment by price [ 01/Dec/21 ] |
|
With thanks to ncaplar and arnaud.lefur, I managed to get this installed on tiger. I needed to remove some existing files (conda said it didn't recognise them, so they "may have been created by another package manager"), but I believe we're in business now. Please let me know if you notice any problems, or have further package requests for the pipeline. |