Joh*_*y V 5 python anaconda jupyter jupyter-lab
我已经安装了Jupyter Lab,但是启动时却收到错误消息:“服务器连接错误,响应无效:500 Internal Server Error”
我的python设置是Anaconda,可能与此有关。
来自命令行的完整错误消息:
朱庇特实验室
[我11:09:41.874 LabApp] [jupyter_nbextensions_configurator]已启用0.2.8
[我11:09:41.884 LabApp]从/anaconda/lib/python3.6/site-packages/jupyterlab加载的JupyterLab beta预览版扩展
[我11:09:41.884 LabApp] JupyterLab应用程序目录为/ anaconda / share / jupyter / lab
[W 11:09:41.887 LabApp]未启用JupyterLab服务器扩展,正在手动加载...
[我11:09:41.888 LabApp]从/anaconda/lib/python3.6/site-packages/jupyterlab加载的JupyterLab beta预览版扩展
[我11:09:41.888 LabApp] JupyterLab应用程序目录为/ anaconda / share / jupyter / lab
[我11:09:41.896 LabApp]服务内容
[I 11:09:41.896 LabApp] 0个活动内核
[我11:09:41.896 LabApp] Jupyter Notebook运行在: http:// localhost:8888 /?token = ad00b52a346b46663662980c13b3da3edb1ecf8614ef1237
[I 11:09:41.896 LabApp]使用Control-C停止该服务器并关闭所有内核(两次跳过确认)。
[C 11:09:41.897 LabApp]
Run Code Online (Sandbox Code Playgroud)Copy/paste this URL into your browser when you connect for the first time, to login with a token: http://localhost:8888/?token=ad00b52a346b46663662980c13b3da3edb1ecf8614ef1237[I 11:09:42.090 LabApp]从:: 1接受一次令牌验证的连接
[W 11:09:42.740 LabApp]没有Node.js无法确定jupyterlab构建状态
[E 11:09:42.748 LabApp] API请求回溯中未处理的错误(最近一次调用最近):文件“ /anaconda/lib/python3.6/site-packages/notebook/base/handlers.py”,行516,在包装结果= yield gen.maybe_future(方法(自身,* args,** kwargs))文件“ /anaconda/lib/python3.6/site-packages/tornado/gen.py”,行1055,运行值=将来.result()文件“ /anaconda/lib/python3.6/site-packages/tornado/concurrent.py”,第238行,结果为raise_exc_info(self._exc_info)文件“”,在raise_exc_info文件“ / anaconda”的第4行/lib/python3.6/site-packages/tornado/gen.py“,行1069,运行时产生== self.gen.send(value)文件” /anaconda/lib/python3.6/site-packages/notebook/服务/内容/handlers.py”,第126行,在get if model ['type'] =='directory'和内容中:TypeError:列表索引必须是整数或切片,而不是str
[E 11:09:42.753 LabApp] {“ Host”:“ localhost:8888”,“ Connection”:“ keep-alive”,“ User-Agent”:“ Mozilla / 5.0(Macintosh; Intel Mac OS X 10_12_6)AppleWebKit /537.36(KHTML,例如Gecko)Chrome / 65.0.3325.162 Safari / 537.36”,“授权”:“令牌ad00b52a346b46663662980c13b3da3edb1ecf8614ef1237”,“ Content-Type”:“ application / json”,“ Accept”:“ / ”,“ Referer” :“ http:// localhost:8888 / lab“,” Accept-Encoding“:” gzip,deflate,br“,” Accept-Language“:” en-GB,en-US; q = 0.9,en; q = 0.8“,” Cookie“:” _xsrf = 2 | a0d1ccab | 73a01490f127ec24c30835607aea1050 | 1520242814; username-localhost-8888 = \“ 2 | 1:0 | 10:1521630582 | 23:username-localhost-8888 | 44:MTQwZDBhNzZlYzY5NDIxZWIyNzUxMWNkMzczZWNiMWU = | 79900638f4dc105393e048f2236331a6f46520ff43b4ff010066d0196
[E 11:09:42.753 LabApp] 500 GET / api / contents /?content = 1&1521630582746(:: 1)5.28ms Referer = http:// localhost:8888 / lab
[W 11:11:05.761 LabApp]没有Node.js无法确定jupyterlab构建状态
[E 11:11:05.770 LabApp] API请求回溯中未处理的错误(最近一次调用最近):文件“ /anaconda/lib/python3.6/site-packages/notebook/base/handlers.py”,行516,在包装结果= yield gen.maybe_future(方法(自身,* args,** kwargs))文件“ /anaconda/lib/python3.6/site-packages/tornado/gen.py”,行1055,运行值=将来.result()文件“ /anaconda/lib/python3.6/site-packages/tornado/concurrent.py”,第238行,在结果raise_exc_info(self._exc_info)文件“”,第4行,在raise_exc_info文件“ / anaconda”中/lib/python3.6/site-packages/tornado/gen.py“,第1069行,在运行中产生= self.gen.send(value)文件” /anaconda/lib/python3.6/site-packages/notebook/服务/内容/handlers.py”,第126行,在get if model ['type'] =='directory'和内容中:TypeError:列表索引必须是整数或切片,而不是str
[E 11:11:05.770 LabApp] {“ Host”:“ localhost:8888”,“ Connection”:“ keep-alive”,“ User-Agent”:“ Mozilla / 5.0(Macintosh; Intel Mac OS X 10_12_6)AppleWebKit /537.36(KHTML,例如Gecko)Chrome / 65.0.3325.162 Safari / 537.36”,“授权”:“令牌ad00b52a346b46663662980c13b3da3edb1ecf8614ef1237”,“ Content-Type”:“ application / json”,“ Accept”:“ / ”,“ Referer” :“ http:// localhost:8888 / lab“,” Accept-Encoding“:” gzip,deflate,br“,” Accept-Language“:” en-GB,en-US; q = 0.9,en; q = 0.8“,” Cookie“:” _xsrf = 2 | a0d1ccab | 73a01490f127ec24c30835607aea1050 | 1520242814; username-localhost-8888 = \“ 2 | 1:0 | 10:1521630665 | 23:username-localhost-8888 | 44:Y2JlODAxNzA3MDY4NDIwYWE4YTM5NGZlZDNhMThlYjE = | 7ae8038d90bbf8f4d44811f23462b14cce1e930fc7f000”
[E 11:11:05.770 LabApp] 500 GET / api / contents /?content = 1&1521630665767(:: 1)1.21ms Referer = http:// localhost:8888 / lab
[E 11:12:45.773 LabApp] API请求回溯中未处理的错误(最近一次调用最近):文件“ /anaconda/lib/python3.6/site-packages/notebook/base/handlers.py”,行516,在包装结果= yield gen.maybe_future(方法(自身,* args,** kwargs))文件“ /anaconda/lib/python3.6/site-packages/tornado/gen.py”,行1055,运行值=将来.result()文件“ /anaconda/lib/python3.6/site-packages/tornado/concurrent.py”,第238行,在结果raise_exc_info(self._exc_info)文件“”,第4行,在raise_exc_info文件“ / anaconda”中/lib/python3.6/site-packages/tornado/gen.py“,第1069行,在运行中产生= self.gen.send(value)文件” /anaconda/lib/python3.6/site-packages/notebook/服务/内容/handlers.py”,第126行,在get if model ['type'] =='directory'和内容中:TypeError:列表索引必须是整数或切片,而不是str [E 11:12:45.774 LabApp] {“ Host”:“ localhost:8888 ”,“连接”:“保持活动”,“用户代理”:“ Mozilla / 5.0(Macintosh;英特尔Mac OS X 10_12_6)AppleWebKit / 537.36(KHTML,例如Gecko)Chrome / 65.0.3325.162 Safari / 537.36”, “授权”:“令牌ad00b52a346b46663662980c13b3da3edb1ecf8614ef1237”,“内容类型”:“ application / json”,“接受”:“主机”:“ localhost:8888”,“连接”:“保持活动”,“用户代理”:“ Mozilla / 5.0(Macintosh;英特尔Mac OS X 10_12_6)AppleWebKit / 537.36(KHTML,例如Gecko)Chrome / 65.0 .3325.162 Safari / 537.36”,“授权”:“令牌ad00b52a346b46663662980c13b3da3edb1ecf8614ef1237”,“内容类型”:“ application / json”,“接受”:“主机”:“ localhost:8888”,“连接”:“保持活动”,“用户代理”:“ Mozilla / 5.0(Macintosh; Intel Mac OS X 10_12_6)AppleWebKit / 537.36(KHTML,例如Gecko)Chrome / 65.0 .3325.162 Safari / 537.36”,“授权”:“令牌ad00b52a346b46663662980c13b3da3edb1ecf8614ef1237”,“内容类型”:“ application / json”,“接受”:“Content-Type“:” application / json“,” Accept“:”Content-Type“:” application / json“,” Accept“:”/ “,” Referer“:” http:// localhost:8888 / lab “,” Accept-Encoding“:” gzip,deflate,br“,” Accept-Language“:” en-GB,en-US; q = 0.9,en; q = 0.8“,” Cookie“:” _xsrf = 2 | a0d1ccab | 73a01490f127ec24c30835607aea1050 | 1520242814; username-localhost-8888 = \“ 2 | 1:0 | 10:1521630765 | 23:username-localhost-8888 | 44:ODFhYWQ3ZDU5OWE5NDdmYTlkODhkNmMxYzg2MDlkYWI = | 0dc6d8a192c6e5494080ca950923b1b291086c2d87c2fbcd
[E 11:12:45.774 LabApp] 500 GET / api / contents /?content = 1&1521630765770(:: 1)1.80ms Referer = http:// localhost:8888 / lab
[E 11:14:26.770 LabApp] API请求回溯中未处理的错误(最近一次调用最近):文件“ /anaconda/lib/python3.6/site-packages/notebook/base/handlers.py”,行516,在包装结果= yield gen.maybe_future(方法(自身,* args,** kwargs))文件“ /anaconda/lib/python3.6/site-packages/tornado/gen.py”,行1055,运行值=将来.result()文件“ /anaconda/lib/python3.6/site-packages/tornado/concurrent.py”,第238行,在结果raise_exc_info(self._exc_info)文件“”,第4行,在raise_exc_info文件“ / anaconda”中/lib/python3.6/site-packages/tornado/gen.py“,第1069行,在运行中产生= self.gen.send(value)文件” /anaconda/lib/python3.6/site-packages/notebook/服务/内容/handlers.py”,第126行,在get if model ['type'] =='directory'和内容中:TypeError:列表索引必须是整数或切片,而不是str
[E 11:14:26.771 LabApp] {“ Host”:“ localhost:8888”,“ Connection”:“ keep-alive”,“ User-Agent”:“ Mozilla / 5.0(Macintosh; Intel Mac OS X 10_12_6)AppleWebKit /537.36(KHTML,例如Gecko)Chrome / 65.0.3325.162 Safari / 537.36”,“授权”:“令牌ad00b52a346b46663662980c13b3da3edb1ecf8614ef1237”,“ Content-Type”:“ application / json”,“ Accept”:“ / ”,“ Referer” :“ http:// localhost:8888 / lab“,” Accept-Encoding“:” gzip,deflate,br“,” Accept-Language“:” en-GB,en-US; q = 0.9,en; q = 0.8“,” Cookie“:” _xsrf = 2 | a0d1ccab | 73a01490f127ec24c30835607aea1050 | 1520242814; username-localhost-8888 = \“ 2 | 1:0 | 10:1521630865 | 23:username-localhost-8888 | 44:MDNhNGVlZjQxZGYxNGZmN2I3ZjIyNmYzMTI2MDE5ZDI = | 700d7876594cb797ba50d10173ed9132af5988cb1c0dc82aba
[E 11:14:26.772 LabApp] 500 GET / api / contents /?content = 1&1521630866769(:: 1)1.59ms Referer = http:// localhost:8888 / lab[E 11:16:07.776 LabApp] API请求回溯中未处理的错误(最近一次调用最近):文件“ /anaconda/lib/python3.6/site-packages/notebook/base/handlers.py”,行516,在包装结果= yield gen.maybe_future(方法(自身,* args,** kwargs))文件“ /anaconda/lib/python3.6/site-packages/tornado/gen.py”,行1055,运行值=将来.result()文件“ /anaconda/lib/python3.6/site-packages/tornado/concurrent.py”,第238行,在结果raise_exc_info(self._exc_info)文件“”,第4行,在raise_exc_info文件“ / anaconda”中/lib/python3.6/site-packages/tornado/gen.py“,第1069行,在运行中产生= self.gen.send(value)文件” /anaconda/lib/python3.6/site-packages/notebook/服务/内容/handlers.py”,第126行,在get if model ['type'] =='directory'和内容中:TypeError:列表索引必须是整数或切片,而不是str
[E 11:16:07.777 LabApp] {“ Host”:“ localhost:8888”,“ Connection”:“ keep-alive”,“ User-Agent”:“ Mozilla / 5.0(Macintosh; Intel Mac OS X 10_12_6)AppleWebKit /537.36(KHTML,例如Gecko)Chrome / 65.0.3325.162 Safari / 537.36”,“授权”:“令牌ad00b52a346b46663662980c13b3da3edb1ecf8614ef1237”,“ Content-Type”:“ application / json”,“ Accept”:“ / ”,“ Referer” :“ http:// localhost:8888 / lab“,” Accept-Encoding“:” gzip,deflate,br“,” Accept-Language“:” en-GB,en-US; q = 0.9,en; q = 0.8“,” Cookie“:” _xsrf = 2 | a0d1ccab | 73a01490f127ec24c30835607aea1050 | 1520242814; username-localhost-8888 = \“ 2 | 1:0 | 10:1521630965 | 23:username-localhost-8888 | 44:MDc0MjlmODBlYTM4NDBjZDhlZjgyOTEzYTA2OTExMmU = | 997eec50aacef9512c6adb31f8badfa3145c86c13b0d” 14459a5}
[E 11:16:07.777 LabApp] 500 GET / api / contents /?content = 1&1521630967773(:: 1)1.71ms Referer = http:// localhost:8888 / lab
| 归档时间: |
|
| 查看次数: |
1602 次 |
| 最近记录: |