[問題] 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