Problem: pip install jupyter hangs at tornado installation.

570 views
Skip to first unread message

Yuval Langer

unread,
Nov 12, 2016, 3:43:40 PM11/12/16
to Project Jupyter
Trying to install jupyter using pip, I find it hangs at tornado's installation:

$ pip3 install --user --upgrade jupyter
Collecting jupyter
 
Using cached jupyter-1.0.0-py2.py3-none-any.whl
Collecting ipykernel (from jupyter)
 
Using cached ipykernel-4.5.0-py2.py3-none-any.whl
Collecting jupyter-console (from jupyter)
 
Using cached jupyter_console-5.0.0-py2.py3-none-any.whl
Collecting nbconvert (from jupyter)
 
Using cached nbconvert-4.2.0-py2.py3-none-any.whl
Collecting qtconsole (from jupyter)
 
Using cached qtconsole-4.2.1-py2.py3-none-any.whl
Collecting ipywidgets (from jupyter)
 
Using cached ipywidgets-5.2.2-py2.py3-none-any.whl
Collecting notebook (from jupyter)
 
Using cached notebook-4.2.3-py2.py3-none-any.whl
Collecting tornado>=4.0 (from ipykernel->jupyter)
^C
$ lsb_release
-a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.10
Release:        16.10
Codename:       yakkety
$ pip3
--version
pip
9.0.1 from /home/yuvallanger/.local/lib/python3.5/site-packages (python 3.5)
$ python3
--version
Python 3.5.2+

Please ask me for other relevant information.

Many thanks,
Yuval Langer.

MinRK

unread,
Nov 12, 2016, 4:14:44 PM11/12/16
to Project Jupyter
You can try getting more output from pip as it works with:

   pip install -vv ....

-MinRK

--
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/7a78b746-21d7-421b-9c33-9a375190fcfa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yuval Langer

unread,
Nov 12, 2016, 4:33:04 PM11/12/16
to jup...@googlegroups.com
The log file of:

$ pip3 install --log pip3installvvuserupgradejupyter.log -vv
--user --upgrade jupyter
>> 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/7a78b746-21d7-421b-9c33-9a375190fcfa%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Project Jupyter" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jupyter/-zzPCmSxJnM/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAHNn8BWhG%2BXv6MFpwXj8NwRNPhT5pTrX6JOK0kvFZgkNR1ur3A%40mail.gmail.com.
pip3installvvuserupgradejupyter.log

Thomas Kluyver

unread,
Nov 13, 2016, 1:49:26 AM11/13/16
to Project Jupyter

Haven't looked at the log file yet (on my phone), but I assume you've tried pip installing tornado by itself as well?

Yuval Langer

unread,
Nov 13, 2016, 2:01:34 AM11/13/16
to jup...@googlegroups.com
Yep. The process itself takes very very few CPU cycles.

On 13 November 2016 at 08:49, Thomas Kluyver <tak...@gmail.com> wrote:
> Haven't looked at the log file yet (on my phone), but I assume you've tried
> pip installing tornado by itself as well?
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Project Jupyter" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jupyter/-zzPCmSxJnM/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAOvn4qjgYvpngNmfd4FE6hyWKUx%2BnR7qEfx1OYpO3ELAwwrpww%40mail.gmail.com.

MinRK

unread,
Nov 18, 2016, 7:59:51 AM11/18/16
to Project Jupyter
That looks like something is wrong with either pip, PyPI, or the network, because it's stuck trying to download the package index, a simple, small text file. Maybe clear the pip cache? Can you install other packages?

-Min

On Sun, Nov 13, 2016 at 8:00 AM, Yuval Langer <yuval....@gmail.com> wrote:
Yep. The process itself takes very very few CPU cycles.

On 13 November 2016 at 08:49, Thomas Kluyver <tak...@gmail.com> wrote:
> Haven't looked at the log file yet (on my phone), but I assume you've tried
> pip installing tornado by itself as well?
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Project Jupyter" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jupyter/-zzPCmSxJnM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to

> 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/CAOvn4qjgYvpngNmfd4FE6hyWKUx%2BnR7qEfx1OYpO3ELAwwrpww%40mail.gmail.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+unsubscribe@googlegroups.com.

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

Yuval Langer

unread,
Nov 27, 2016, 1:05:33 PM11/27/16
to Project Jupyter
Running:

rm -rf ~/.cache/pip

worked.

Many thanks!


On Friday, 18 November 2016 14:59:51 UTC+2, Min RK wrote:
That looks like something is wrong with either pip, PyPI, or the network, because it's stuck trying to download the package index, a simple, small text file. Maybe clear the pip cache? Can you install other packages?

-Min
On Sun, Nov 13, 2016 at 8:00 AM, Yuval Langer <yuval....@gmail.com> wrote:
Yep. The process itself takes very very few CPU cycles.

On 13 November 2016 at 08:49, Thomas Kluyver <tak...@gmail.com> wrote:
> Haven't looked at the log file yet (on my phone), but I assume you've tried
> pip installing tornado by itself as well?
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Project Jupyter" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jupyter/-zzPCmSxJnM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to

> 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/CAOvn4qjgYvpngNmfd4FE6hyWKUx%2BnR7qEfx1OYpO3ELAwwrpww%40mail.gmail.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.
Reply all
Reply to author
Forward
0 new messages