简体   繁体   English

Jupyter笔记本上的空白浏览器页面-自定义CSS?

[英]Blank browser page on Jupyter notebook - Custom CSS?

Whenever i try to spawn a notebook my terminal looks like the following: terminal 每当我试图催生一个笔记本我的终端如下所示: 终端

Then i get a blank browser page: ChromeConsole 然后我得到一个空白的浏览器页面: ChromeConsole

Any ideas as to why its looking for a custom css? 关于为什么要寻找自定义CSS的任何想法? Why are these suddenly throwing errors of "MIME" type? 为什么这些突然抛出“ MIME”类型的错误?

Python version 3.6.8 jupyter 1.0.0 jupyter-client 5.2.4 jupyter-console 6.0.0 jupyter-core 4.4.0 Python版本3.6.8 jupyter 1.0.0 jupyter-client 5.2.4 jupyter-console 6.0.0 jupyter-core 4.4.0

I was having the same identical problem with Opera and Brave (both chromium-based) and Microsoft Edge (Puthon 3.6.8 and Jupyter 1.0.0). 我在Opera和Brave(都基于铬)和Microsoft Edge(Puthon 3.6.8和Jupyter 1.0.0)中遇到了相同的问题。 There is an open issue on github here https://github.com/jupyter/notebook/issues/4467 describing the same issue we are having. github上有一个未解决的问题,在这里https://github.com/jupyter/notebook/issues/4467描述了我们遇到的相同问题。

The solution that worked for me was rolling back to notebook version 5.7.5 as detailed here: https://github.com/jupyter/notebook/issues/4467#issuecomment-471619994 and correcting the page.html file (obviously, the one corresponding to the conda env or pipenv that you are using) as detailed here: https://github.com/jupyter/notebook/issues/4467#issuecomment-471867371 . 适用于我的解决方案是回滚到笔记本版本5.7.5,如此处所述: https : //github.com/jupyter/notebook/issues/4467#issuecomment-471619994并更正page.html文件(显然,其中一个对应于您使用的conda env或pipenv),如此处所述: https : //github.com/jupyter/notebook/issues/4467#issuecomment-471867371

I'm sorry if this is a bit hacky. 如果这有点怪异,我感到抱歉。 I am not really sure what the underlying issue is, but at least it works. 我不太确定潜在的问题是什么,但至少它能起作用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM