[问题] jupyter使用问题

楼主: swampni   2018-02-26 23:37:13
各位大大新年快乐
不晓得有没有人在使用conda安装jupyter以后
输入 jupyetr notebook指令后
出现timeout error [winError 10060]的错误
以下是错误讯息
(numerical) C:\Users\user>jupyter notebook
Traceback (most recent call last):
File
"C:\Users\user\Anaconda3\envs\numerical\Scripts\jupyter-notebook-script.p
y", line 10, in <module>
sys.exit(main())
File
"C:\Users\user\Anaconda3\envs\numerical\lib\site-packages\jupyter_core\ap
plication.py", line 266, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File
"C:\Users\user\Anaconda3\envs\numerical\lib\site-packages\traitlets\confi
g\application.py", line 657, in launch_instance
app.initialize(argv)
File "<decorator-gen-7>", line 2, in initialize
File
"C:\Users\user\Anaconda3\envs\numerical\lib\site-packages\traitlets\confi
g\application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File
"C:\Users\user\Anaconda3\envs\numerical\lib\site-packages\notebook\notebo
okapp.py", line 1507, in initialize
self.init_webapp()
File
"C:\Users\user\Anaconda3\envs\numerical\lib\site-packages\notebook\notebo
okapp.py", line 1297, in init_webapp
self.http_server.listen(port, self.ip)
File
"C:\Users\user\Anaconda3\envs\numerical\lib\site-packages\tornado\tcpserv
er.py", line 143, in listen
self.add_sockets(sockets)
File
"C:\Users\user\Anaconda3\envs\numerical\lib\site-packages\tornado\tcpserv
er.py", line 155, in add_sockets
self.io_loop = IOLoop.current()
File
"C:\Users\user\Anaconda3\envs\numerical\lib\site-packages\tornado\ioloop.
py", line 214, in current
return IOLoop.instance()
File
"C:\Users\user\Anaconda3\envs\numerical\lib\site-packages\tornado\ioloop.
py", line 162, in instance
IOLoop._instance = IOLoop()
File
"C:\Users\user\Anaconda3\envs\numerical\lib\site-packages\tornado\util.py
", line 293, in __new__
instance.initialize(*args, **init_kwargs)
File
"C:\Users\user\Anaconda3\envs\numerical\lib\site-packages\zmq\eventloop\i
oloop.py", line 139, in initialize
super(ZMQIOLoop, self).initialize(impl=impl, **kwargs)
File
"C:\Users\user\Anaconda3\envs\numerical\lib\site-packages\tornado\ioloop.
py", line 709, in initialize
self._waker = Waker()
File
"C:\Users\user\Anaconda3\envs\numerical\lib\site-packages\tornado\platfor
m\common.py", line 64, in __init__
self.writer.connect(connect_address)
TimeoutError: [WinError 10060] 连线尝试失败,因为连线对象有一段时间并未正确回

,或是连线建立失败,因为连线的主机无法回应。
不晓得像这种状况要怎么处理呢?
上stackoverflow跟github都有人遇到相同的问题但都只有问题没人解答
有大大知道问题出在哪里吗?
作者: Luluemiko (露露)   2018-02-27 00:22:00
乱猜一个,把防火墙关掉试试?
楼主: swampni   2018-02-27 00:38:00
忘记说 我的os是win8防火墙感觉很有可能 明天试试
作者: chester0603 (Cholesterol)   2018-03-01 01:17:00
刚在用Jupyter Notebook爬虫时也有同样问题 爬文说网络不稳多试几次就好 后来就真的突然好了不过我没有在开启时遇到这个问题
作者: a830307119 (天生我材必有用)   2018-03-03 06:05:00
作者: ar54971   2018-03-06 03:38:00

Links booklink

Contact Us: admin [ a t ] ucptt.com