[IPython-User] IPython notebook produces no output on Windows 7
Matthias BUSSONNIER
bussonniermatthias@gmail....
Tue Jul 10 03:29:56 CDT 2012
Hi alexander,
Le 9 juil. 2012 à 18:27, Alex a écrit :
> Hi,
>
> after playing around with ipython notebook at home I wanted to install
> it on my work computer but the notebook fails to produce any output. Any
> idea how to fix this is very appreciated.
>
> The installation of ipython 0.13 with easy_install went through without
> any errors on my Windows 7 64 machine.
>
> After that I did the following:
>
> - installed 0MQ from their website (32 bit version)
> - installed pyzmq (zmq.__version__ returns '2.2.0')
> - installed tornado (tornado.version returns '2.3')
> - start a ipython instance with 'ipython notebook' with the following
> output:
>
> C:\Temp>ipython notebook
> [NotebookApp] Using existing profile dir:
> u'C:\\Users\\user\\.ipython\\profile_default'
> [NotebookApp] Serving notebooks from C:\Temp
> [NotebookApp] The IPython Notebook is running at: http://127.0.0.1:8888/
> [NotebookApp] Use Control-C to stop this server and shut down all kernels.
You should get smith like :
[NotebookApp] Kernel started: af66e841-321b-4201-81e3-4bb40bb1b6f4
[NotebookApp] Connecting to: tcp://127.0.0.1:57081
[NotebookApp] Connecting to: tcp://127.0.0.1:57082
[NotebookApp] Connecting to: tcp://127.0.0.1:57084
when clicking on a notebook.
this make me think that ws connexion never occurred.
Do you have a proxy ?
If so you might want to configure your browser to explicitly avoid using proxy for localhost/127.0.01 ,
unplugging the ethernet cable is another way to test for it :-)
You can try `%qtconsole` in the notebook to get a console attached to the same kernel… but I doubt the command ever get to the kernel.
keep us posted.
--
Matthias
> In Chrome (20.xxx) I can access the control page and the individual
> notebook but neither
>
> 1+1
>
> or alternatively
>
> print("hello")
>
> produces any output. The javascript console does not show any errors:
> Kernel started: 6b66a850-e988-4f3a-a027-fb7e5b53be32 kernel.js:80
> Starting WS:
> ws://127.0.0.1:8888/kernels/6b66a850-e988-4f3a-a027-fb7e5b53be32
>
> Restarting the kernel does not help, now instead of
> In [2]: 1+1
> the notebook returns after execution to
> In [*]: 1+1
>
> As there is no kind of error message I have no idea how to diagnose the
> problem, I only know that it works beautifully on my computer at home
> with a very similar setup (also W7 64, same python version, same ipython
> version).
>
> Thank you for any tips!
>
> Alexander
>
>
>
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
More information about the IPython-User
mailing list