Jupyter Notebook问题汇总

1. Refusing to serve hidden directory, via 404 Error

  1. conda update jupyterlab
  2. 更换路径,有可能是无法在任何盘的根路径下启动。(更换后变好)。

2. no connection to kernel jupyter

tornado版本过高,pip install tornado==4.5.3

3. 更换密码

在命令行中输入jupyter notebook password,连续输入两次后即可修改成功。

4. 安装R的kernel

先安装一些库, install.packages(c(‘repr’, ‘IRdisplay’, ‘evaluate’, ‘crayon’, ‘pbdZMQ’, ‘devtools’, ‘uuid’, ‘digest’))

其中devtools依赖于rlang,这两个库需要gcc/g++编译环境。

而https://cran.r-project.org/bin/windows/base/R-3.5.1-win.exe默认只包含base,而gcc/g++编译环境是需要通过安装Rtools(https://cran.r-project.org/bin/windows/Rtools/Rtools35.exe)才能装上。

发布了178 篇原创文章 · 获赞 389 · 访问量 6万+

猜你喜欢

转载自blog.csdn.net/herosunly/article/details/104628276