简介: 网页交互式编辑器, 多用于数据分析
安装
pip install jupyter notebook
pip3 install jupyter配置设置
jupyter notebook --generate-config启动
jupyter notebook
# 指定6666端口启动
jupyter notebook --port 6666找到内核配置路径
λ jupyter kernelspec list
Available kernels:
python2 C:\Users\admin\AppData\Roaming\jupyter\kernels\python2
python3 C:\Users\admin\AppData\Roaming\jupyter\kernels\python3修改Python路径为当前Python的安装路径
{
"argv": [
"D:\\DevelopTools\\Python37\\python.exe",
"-m",
"ipykernel_launcher",
"-f",
"{connection_file}"
],
"display_name": "Python 3",
"language": "python"
}- 打开指定的notebook文件:
jupyter notebook notebook.ipynb - 指定运行的端口:
jupyter notebook --port 9999 - 启动服务器但不打开浏览器:
jupyter notebook --no-browser - 查看服务器帮助内容:
jupyter notebook --help
可配合vscode使用
评论 (0)