jupyter / notebook

Jupyter Interactive Notebook
https://jupyter-notebook.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
11.35k stars 4.72k forks source link

Cannot launch jupyter notebook #2649

Open diudiutong opened 6 years ago

diudiutong commented 6 years ago

When I launch jupyter notebook ,it shows up about 1-2 seconds then quit. When I launch it in the terminal ,it shows this: Microsoft Windows [版本 10.0.14393] (c) 2016 Microsoft Corporation。保留所有权利。

C:\Users\lenovo>jupyter notebook Traceback (most recent call last): File "C:\Anaconda2\Scripts\jupyter-notebook-script.py", line 5, in sys.exit(notebook.notebookapp.main()) File "C:\Anaconda2\lib\site-packages\jupyter_core\application.py", line 267, in launch_instance return super(JupyterApp, cls).launch_instance(argv=argv, *kwargs) File "C:\Anaconda2\lib\site-packages\traitlets\config\application.py", line 657, in launch_instance app.initialize(argv) File "", line 2, in initialize File "C:\Anaconda2\lib\site-packages\traitlets\config\application.py", line 87, in catch_config_error return method(app, args, **kwargs) File "C:\Anaconda2\lib\site-packages\notebook\notebookapp.py", line 1296, in initialize self.init_webapp() File "C:\Anaconda2\lib\site-packages\notebook\notebookapp.py", line 1113, in init_webapp self.login_handler_class.validate_security(self, ssl_options=ssl_options) File "C:\Anaconda2\lib\site-packages\notebook\auth\login.py", line 214, in validate_security if not app.ip: File "C:\Anaconda2\lib\site-packages\traitlets\traitlets.py", line 556, in get return self.get(obj, cls) File "C:\Anaconda2\lib\site-packages\traitlets\traitlets.py", line 535, in get value = self._validate(obj, dynamic_default()) File "C:\Anaconda2\lib\site-packages\notebook\notebookapp.py", line 525, in _default_ip s = socket.socket() File "C:\Anaconda2\lib\socket.py", line 191, in init _sock = _realsocket(family, type, proto) socket.error: [Errno 10106]

I use Windows 10.

takluyver commented 6 years ago

Error 10106 is described as:

Service provider failed to initialize.

The requested service provider could not be loaded or initialized. This error is returned if either a service provider's DLL could not be loaded (LoadLibrary failed) or the provider's WSPStartup or NSPStartup function failed.

Do you have some anti-virus or firewall software installed? We have run into problems with various 'security' systems.

diudiutong commented 6 years ago

Thanks.I do have installed firewall software,but after I quit it,the notebook is still not working