Jupyter_notebook 系列问题
推荐阅读
- Last, First. (2021) jupyter notebook 获取文件名字_orDream的博客-CSDN博客. Retrieved March 17, 2021, from https://blog.csdn.net/orDream/article/details/110150196
- Winsw. (2021) 在windows下通过winsw将程序注册为服务实现开机自启_orDream的博客-CSDN博客. Retrieved March 17, 2021, from https://blog.csdn.net/orDream/article/details/106169430
- Last, First. (2021) jpyter_notebook 多环境切换_orDream的博客-CSDN博客. Retrieved March 17, 2021, from https://blog.csdn.net/orDream/article/details/114917234
等待阅读并写笔记
Sourabh Jain. (2021) Auto Start Jupyter Lab on Machine Boot Up | by Sourabh Jain | Analytics Vidhya | Medium. Retrieved March 20, 2021, from https://medium.com/analytics-vidhya/auto-start-jupyter-lab-on-machine-boot-e4f6b3296034
Laptrinhx. (2021) 在机器启动时自动启动Jupyter Lab LaptrinhX. Retrieved March 20, 2021, from https://laptrinhx.com/auto-start-jupyter-lab-on-machine-boot-3006525049/
https://blog.csdn.net/orDream/article/details/114917234
待完善
jupyter nbextension install --user --py widgetsnbextension
jupyter nbextension install --user --py bqplot
jupyter nbextension enable --user --py widgetsnbextension
jupyter nbextension enable --user --py bqplot
Uninstalling And Reinstalling. (2021) python - My jupyter notebook is notebook is not working - Stack Overflow. Retrieved April 06, 2021, from https://stackoverflow.com/questions/65558592/my-jupyter-notebook-is-notebook-is-not-working
python"># 位于: [Anaconda3_path]/envs/[env_name]/Lib/site-packages/jupyter_core/paths.py
#LY user, _domain, _type = win32security.LookupAccountName("", win32api.GetUserNameEx(win32api.NameSamCompatible))
user, _domain, _type = win32security.LookupAccountName("", win32api.GetUserName())
开机自启
vim /etc/systemd/system/jupyter.service
[Unit]
Description=Jupyter Notebook
After=network.target
[Service]
Type=simple
ExecStart=/home/gc/anaconda3/bin/jupyter-notebook --config=/home/wewewt/.jupyter/jupyter_notebook_config.py --no-browser
User=wewewt
Group=wewewt
WorkingDirectory=/home/gc/py
#文件路径名
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
systemctl enable jupyter #设置开机自启
systemctl start jupyter #启动
设置问题
IOPub message rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--NotebookApp.iopub_msg_rate_limit`.
Current values:
NotebookApp.iopub_msg_rate_limit=1000.0 (msgs/sec)
NotebookApp.rate_limit_window=3.0 (secs)