--
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 post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/f0bba950-f837-421f-8fe2-4d3c558f6225%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Tue, Jul 26, 2016 at 6:03 AM, Sudipto Goswami <sudipto8...@gmail.com> wrote:
Thanks for the suggestion. Actually I am new to this, can you please share some more insight on this. My understanding was by using pip or conda, it indirectly calls the parent repository and pulls the data from the central location.
Both pip and conda have a collection of places they can look for files. pip calls these repositories or indices, conda calls them channels. They can be remote web servers, or local directories full of packages. To use pip without a network connection, start at a (sufficiently similar) machine that does have a network connection, and run:
pip wheel -w jupyterhub-wheels jupyterhub
Then you will have a directory jupyterhub-wheels containing wheels of JupyterHub and all of its Python dependencies. This does not include the dependencies of the single-user server, so if you want those, too (that is, you are running local notebook servers on the same system, not using Docker or anything), add notebook to the above line.
You can move this jupyterhub-wheels directory to your server, and then install everything without a network connection, with:
pip install jupyterhub --no-index --find-links=/path/to/jupyterhub-wheels
The --no-index tells it to not look on the Internet for anything, and --find-links= tells it to look for files in your local directory.
npmbox provides the same functionality for npm packages.
So in general, to get jupyterhub and notebooks installed on your system without the network:
on a builder machine, with network access:
[builder]$ pip wheel -w jupyterhub-wheels jupyterhub notebook
[builder]$ npmbox configurable-http-proxy
inspect/audit results, as appropriate.
jupyterhub-wheels and configurable-http-proxy.npmbox to your server via appropriate means.on network-less server:
[server]$ pip install --no-index --find-links=/path/to/jupyterhub-wheels jupyterhub notebook
[server]$ npmunbox -g configurable-http-proxy.npmbox
This assumes that you have done a one-time approved install of pip and npmbox on the server.
-MinRK
--
On Monday, July 25, 2016 at 4:40:23 AM UTC-4, Min RK wrote:conda and pip can both be used without a network connection. You can make your own repository (directory) of conda packages and/or wheels, and then install from there instead of the internet.For instance, with pip and npmbox:pip wheel jupyterhubnpmbox configurable-http-proxy-MinRKOn Tue, Jul 19, 2016 at 11:11 PM, Sudipto Goswami <sudipto8...@gmail.com> wrote:Hi All,--I was just wondering if there is any possible work-around for installation of JupyerHub after downloading the tarball from source and then install it, rather than going through pip or condainstall.The reason why I am asking, the servers on which I will be working are behind internet and there is no possible workaround to allow internet due to security policies.It will be really great if we can get some mechanism to install the same from source.Please let me know your thoughts.Regards,Sudipta.
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 post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/f0bba950-f837-421f-8fe2-4d3c558f6225%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/9e33bf33-603e-4870-8bf3-fd5d4a4033fa%40googlegroups.com.