一、库有关
1.永久换源
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
2.安装常用插件
# 中文插件
pip install jupyterlab-language-pack-zh-CN
# 代码补全插件
pip install jupyterlab-kite
# 观察系统资源的插件
pip install jupyterlab-system-monitor
n.导出当前项目中所有用到的库及更新其版本
# 批量导出当前项目中用到的库
pip freeze > requirements.txt
# 批量导入多个库
pip install -r requirements.txt --upgrade