win10 jupyterlab 配置

这里写自定义目录标题


Python为默认语言来搭建JupyterLab,首先确认你安装好了Python基本环境:

# 一行命令搞定
pip install jupyterlab
# 安装ipython
pip install ipython

安装插件之前需要配置Node,直接安装就行。
安装目录插件例子:

# 以安装一个生成目录的插件为例
jupyter labextension install @jupyterlab/toc
# 查看安装的插件
jupyter labextension list

其他插件详见文档:
官方地址:https://github.com/jupyterlab
文档:https://jupyterlab.readthedocs.io/en/stable/
插件:https://github.com/topics/jupyterlab-extension

其中有一个挺有意思的插件,SQL:

pip install jupyterlab_sql
jupyter serverextension enable jupyterlab_sql --py --sys-prefix
jupyter lab build

按不同配置文件不同连接方式:
其中以下方式,因为python3,变成了mysqlclient。
mysql://usename:password@ip:port/db

相关链接:
https://www.jianshu.com/p/88feebf3eb3a
https://www.jianshu.com/p/4a483d3f09de

发布了90 篇原创文章 · 获赞 3 · 访问量 4915

猜你喜欢

转载自blog.csdn.net/weixin_43329319/article/details/103436493