I have some github repos in a server and I would like to run that repos but in different virtual environments in the JupyterHub installed there.
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/56e86081-88a9-4b40-8ab0-f0480885a592%40googlegroups.com.
Hi Brayan,
One way to do this requires JupyterHub is configured to allow named servers[1]. When enabled, users can create multiple Jupyter servers associated with their user, and you could then check out one repo into each one.
Depending on what type of virtual environments you're after (are we just talking Python modules?), you could rely entirely on virtualenv/venv[2], check out each repo in to a different folder and then create a virtualenv for each one.
Hope that helps!
/Jason
[1]: https://jupyterhub.readthedocs.io/en/stable/reference/rest.html#enabling-users-to-spawn-multiple-named-servers-via-the-api
[2]: https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/
On 8/28/19 2:48 PM, Brayan Rodriguez wrote:
I have some github repos in a server and I would like to run that repos but in different virtual environments in the JupyterHub installed there.--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jup...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/928d8343-5478-4dfa-a56d-8e4e44c321ed%40googlegroups.com.
pip install ipykernel
python -m ipykernel install --user --name myenv --display-name "Python (myenv)"To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/928d8343-5478-4dfa-a56d-8e4e44c321ed%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/e54ba4e6-5666-423c-b0b2-ae7f47eb8090%40googlegroups.com.