ipyleaflet icon indicating copy to clipboard operation
ipyleaflet copied to clipboard

How to install ipyleaflet for JupyterHub

Open JosephKuchar opened this issue 1 year ago • 1 comments

Hi,

I have a new installation of jupyterhub following the instructions in jupyterhub the hard way, where jupyterhub is installed in its own virtual environment, and then all user packages are installed in conda environments. I've installed the jupyter-widgets in the virtualenv, but my question is where and how should ipyleaflet be installed in this kind of environment? Our team's previous jupyterhub became broken overtime and widgets stopped working due to (I believe) conflicting packages being installed in multiple environments, so I'd like to make sure I'm following best practices from the start if I can!

Thanks, Joseph Kuchar

JosephKuchar avatar Apr 25 '24 17:04 JosephKuchar

conda install -p /path/to/user/env ipyleaflet should install ipyleaflet in the user's environment, where /path/to/user/env is the prefix (i.e. the singleuser server command is /path/to/user/env/bin/jupyterhub-singleuser)

minrk avatar May 29 '24 11:05 minrk