【博学谷学习记录】超强总结,用心分享 | jupyter常用功能

jupyter 安装

文档地址https://jupyter.org/install

pip install notebook

启动命令

jupyter notebook

jupyter-themes 修改主题

安装主题
https://github.com/dunovank/jupyter-themes github地址

pip install--upgrade jupyterthemes

查看所有主题

jt -l

image.png

修改主题

jt -t  grade3

image.png

还有其他属性,可以直接访问文档

智能提示

pip install jupyter_contrib_nbextensions -i https://pypi.mirrors.ustc.edu.cn/simple jupyter contrib nbextension install
pip install --user jupyter_nbextensions_configurator jupyter nbextensions_configu rator enable

重启jupyter,并找到Nbextensions

image.png
Configurable nbextensions 取消选中
在列表中找到Hiterland并勾选

image.png

刷新完成设置

最后打开一个文集,输入im,看到如下效果,说明设置成功。
image.png

安装模块

正常python模块的使用,直接pip install 模块就可以了,但是在juypter中,总是出现模块未安装提示,网上搜索说是安装前需要激活

activate tensorflow

之后再安装其他的库

pip install xxxx
posted @ 2023-06-01 09:54  牛牛牛牛牛牛牛牛  阅读(58)  评论(0编辑  收藏  举报