ipyleaflet
ipyleaflet copied to clipboard
How to install ipyleaflet for JupyterHub
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
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)