jupyter / help

:sparkles: Need some help or have some questions? Please visit our Discourse page.
https://discourse.jupyter.org
291 stars 97 forks source link

Can't connect to server #532

Open artsuki opened 5 years ago

artsuki commented 5 years ago

I met this problem when I upgraded packages via pip this afternoon(It was OK before the upgrade). win10 cmd raise sentence like this:

E:\Document\Python>jupyter notebook [I 22:49:49.395 NotebookApp] Serving notebooks from local directory: E:\Document\Python [I 22:49:49.395 NotebookApp] The Jupyter Notebook is running at: [I 22:49:49.395 NotebookApp] http://localhost:8888/?token=ddf0f52e02b9c784509a5243c5c6b319eea2a0d35db6820c [I 22:49:49.396 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 22:49:49.430 NotebookApp]

To access the notebook, open this file in a browser:
    file:///C:/Users/artsu/AppData/Roaming/jupyter/runtime/nbserver-2512-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/?token=ddf0f52e02b9c784509a5243c5c6b319eea2a0d35db6820c

[W 22:49:54.331 NotebookApp] Notebook Untitled.ipynb is not trusted [I 22:49:54.685 NotebookApp] Kernel started: 14bbc2f2-c0ab-488b-803b-a1375cbd6ae0 [I 22:49:55.717 NotebookApp] Adapting to protocol v5.1 for kernel 14bbc2f2-c0ab-488b-803b-a1375cbd6ae0 c:\programs\python37\lib\site-packages\notebook\base\zmqhandlers.py:284: RuntimeWarning: coroutine 'WebSocketHandler.get' was never awaited super(AuthenticatedZMQStreamHandler, self).get(*args, **kwargs) RuntimeWarning: Enable tracemalloc to get the object allocation traceback [W 22:49:56.744 NotebookApp] Replacing stale connection: 14bbc2f2-c0ab-488b-803b-a1375cbd6ae0:014b4cf5f3814b958e800db337e3ffdf