我以前Jupyter Notebook在Mac 上使用过(python 2和3)。一段时间不使用后,似乎无法解决问题。使用命令从终端启动笔记本电脑Jupyter notebook,然后选择要使用的笔记本电脑时,出现错误:
"A connection to the notebook server could not be established. The notebook will continue trying to reconnect. Check your network connection or notebook server configuration."
Run Code Online (Sandbox Code Playgroud)
我肯定这与我的Internet连接无关(我尝试了2台连接到不同网络的机器)。
我已经知道浏览器可能是问题所在,因此我已经安装了Chrome和Firefox。但是,当我使用Safari,Chrome和Firefox时出现此错误。
然后我读到它是代理问题。我试图将笔记本的服务器地址添加到No proxy fieldsMac的高级网络首选项和Firefox的高级设置中。
我唯一能想到的是我输入了错误的服务器地址?
我一般对设置和错误了解不多,希望有人可以为我提供一些替代选择,以使Jupyter再次工作。
终端输出:
ValueError: signal only works in main thread
ERROR:tornado.application:Exception in callback <functools.partial object at 0x111e2b208>
Traceback (most recent call last):
File "/Users/xxx/anaconda2/lib/python2.7/site-packages/tornado/ioloop.py", line 759, in _run_callback
ret = callback()
File "/Users/xxx/anaconda2/lib/python2.7/site-packages/tornado/stack_context.py", line 276, in null_wrapper
return fn(*args, …Run Code Online (Sandbox Code Playgroud)