Need help with offline installation of Jupyter HUB.

124 views
Skip to first unread message

Kausthub kos

unread,
Aug 15, 2017, 10:09:55 AM8/15/17
to Project Jupyter
the office proxy ntw doesnt allow me to install Jupyter hub using the command  " pip install jupyter hub"
figured out to be an issue with proxy. Which cannot be modified. 

If someone could help me with the offline way of installation that would be great. 


Thanks

Thomas Kluyver

unread,
Aug 15, 2017, 10:25:34 AM8/15/17
to Project Jupyter
Can you use another computer which is not behind the proxy? If so, use that computer to run, in an empty directory:

pip download jupyterhub

That will get you a load of files you need. Copy them onto the computer you want to install on. Then run:

pip install -f path/to/dir jupyterhub

(Replace path/to/dir with the directory you put those files in)

If you can't copy the files from another computer, you'll probably need to manually download all the files you need from PyPI, which will be tedious. Or you might be able to install it using conda, if the proxy doesn't block that.

Thomas

--
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+unsubscribe@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/c5b82ba7-0a89-4e3f-8690-04f10bff858d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kausthub kos

unread,
Aug 16, 2017, 3:08:49 AM8/16/17
to Project Jupyter
Guess that helped..  But now i see this issue. 

  Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.co
nnection.VerifiedHTTPSConnection object at 0x0000000003813A58>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/jupyterhub/
  Could not find a version that satisfies the requirement jupyterhub (from versions: )
No matching distribution found for jupyterhub


On Tuesday, August 15, 2017 at 4:25:34 PM UTC+2, takowl wrote:
Can you use another computer which is not behind the proxy? If so, use that computer to run, in an empty directory:

pip download jupyterhub

That will get you a load of files you need. Copy them onto the computer you want to install on. Then run:

pip install -f path/to/dir jupyterhub

(Replace path/to/dir with the directory you put those files in)

If you can't copy the files from another computer, you'll probably need to manually download all the files you need from PyPI, which will be tedious. Or you might be able to install it using conda, if the proxy doesn't block that.

Thomas
On 15 August 2017 at 15:09, Kausthub kos <kaust...@gmail.com> wrote:
the office proxy ntw doesnt allow me to install Jupyter hub using the command  " pip install jupyter hub"
figured out to be an issue with proxy. Which cannot be modified. 

If someone could help me with the offline way of installation that would be great. 


Thanks

--
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.

Thomas Kluyver

unread,
Aug 16, 2017, 6:11:55 AM8/16/17
to Project Jupyter
Try adding --no-index to the pip command?

To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.

Mohana Murali Gurunathan

unread,
Apr 28, 2018, 5:56:37 AM4/28/18
to Project Jupyter
Pls. refer to the instructions I had followed to install Jupyterhub along with configurable-http-proxy without using npm installs. Could do everything with the help of conda (Thanks to the conda - as it can get and install all the needed packages... even non Python packages. ) I have put the details in the following link:
https://mohanamuraligurunathan.blogspot.in/2018/04/jupyterhub-offline-install-without.html

hope this helps.
Cheers,
Mohan
Reply all
Reply to author
Forward
0 new messages