Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install ipyleaflet for JupyterHub #1191

Open
JosephKuchar opened this issue Apr 25, 2024 · 1 comment
Open

How to install ipyleaflet for JupyterHub #1191

JosephKuchar opened this issue Apr 25, 2024 · 1 comment

Comments

@JosephKuchar
Copy link

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

@minrk
Copy link
Contributor

minrk commented May 29, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants