Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others


0 votes
in Technique[技术] by (71.8m points)

windows - Python Stopped Working on Jupyter StartUp

I start Jupyter from my powershell prompt jupyter notebook and it loads up correctly, but when I open a new or existing notebook, the kernel sits busy for about 10 sec and then I get a pop-up saying Python has stopped working. In my terminal I get Invalid argument (C:cizeromq_1602704446950worksrcepoll.cpp:100) (see below). Any solutions off the top of your head? I've tried using different environments and uninstalling/reinstalling pyzmq.

[I 12:58:16.682 NotebookApp] Serving notebooks from local directory: C:Usersobinp
[I 12:58:16.682 NotebookApp] Jupyter Notebook 6.1.6 is running at:
[I 12:58:16.684 NotebookApp] http://localhost:8888/?token=9eee2cc4e598b193ad42fc05ff620a43d0e5f29e885170b3
[I 12:58:16.684 NotebookApp]  or
[I 12:58:16.685 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 12:58:18.289 NotebookApp]

To access the notebook, open this file in a browser: file:///C:/Users/tobinp/AppData/Roaming/jupyter/runtime/nbserver-18144-open.html Or copy and paste one of these URLs: http://localhost:8888/?token=7xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx6 or
Invalid argument (C:cizeromq_1602704446950worksrcepoll.cpp:100)

Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I had a similar problem: today, after updating Jupyter to the latest version, I was not able to launch "jupyter notebook" command from Windows Powershell, with the following Traceback: "ImportError: DLL load failed while importing libzmq". I solved with pyzmq roll back, from latest version (21.0.1) to 19.0.2 (my previous version installed in my environment).

Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share