Jupyter_notebook 系列问题

news/2024/7/16 8:36:29 标签: jupyter, python, ide

Jupyter_notebook 系列问题

推荐阅读

  1. Last, First. (2021) jupyter notebook 获取文件名字_orDream的博客-CSDN博客. Retrieved March 17, 2021, from https://blog.csdn.net/orDream/article/details/110150196
  2. Winsw. (2021) 在windows下通过winsw将程序注册为服务实现开机自启_orDream的博客-CSDN博客. Retrieved March 17, 2021, from https://blog.csdn.net/orDream/article/details/106169430
  3. 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)

http://www.niftyadmin.cn/n/1033828.html

相关文章

python正则匹配常用表达式

匹配数字和小数 import re content " 2: 764.509766, 764.509766 avg loss, 0.000000 rate, 1.517984 seconds, 64 images, -1.000000 hours left" g re.findall(r-?\d\.?\d*e?-?\d*?, content) # 匹配数字和小数 display(g)[2, 764.509766, 764.509766, 0.…

如何成为一名专家?

这是傅一平的第345篇原创【与数据同行】已开通综合、数据仓库、数据分析、产品经理、数据治理及机器学习六大专业群,加微信号frank61822702 为好友后入群。新开招聘交流群,请关注【与数据同行】公众号,后台回复“招聘”后获得入群方法。正文开…

已经发布的文章转换成Markdown编辑器

已经发布的文章转换成Markdown编辑器 问题背景 想把以前文章的编辑器从 富文本 转换为 Markdown,官方并没有直接提供这个功能。 如果你直接重新发布一篇,那么以前文章的点赞、评论、收藏等数据将不复存在,并且发布时间会刷新。 下面这个方法…

从0到1,大数据开发实战进阶!

最近到了招聘旺季,发现一些朋友很纠结一个问题:做后端开发和做大数据开发?这个问题还是比较普遍的。其实,后端开发,更专注于一种技术栈的开发,对于成熟的开发框架而言,的确市面上的竞争压力会比…

网易云音乐在 Ubuntu 下缩放的问题

网易云音乐在 Ubuntu 下缩放的问题 方式1: 更改 /opt/netease/netease-cloud-music/netease-cloud-music.bash 文件,具体更改:添加 export QT_SCALE_FACTOR2,总的如下: #!/bin/sh HERE"$(dirname "$(read…

你真的需要那么多报表么?

【与数据同行】已开通综合、数据仓库、数据分析、产品经理、数据治理及机器学习六大专业群,加微信号frank61822702 为好友后入群。新开招聘微信群,请关注【与数据同行】公众号,后台回复“招聘”后获得入群方法。正文开始数据利用之现状-报表迷…

MQTT 客户端工具介绍

MQTT 客户端工具介绍 概览 在学习和使用 MQTT 的过程中,一个得心应手的客户端工具可以极大的方便使用者进行 MQTT 特性的探索和功能组件的调试。来自世界各地的开发者们围绕不同操作系统、运行平台,开发出了许多针对 MQTT 协议的客户端测试工具。 这些…

docker或者Ubuntu指令

查看配置文件中以 # 为注释时生效的配置行: egrep -v ^#|^$ /etc/zabbix/zabbix_agent2.conf 安装完 docker 镜像后安装 vim . apk update apk add vim查看端口 netstat -lntup