用ReSpeaker 2-Mics Pi HAT给你的树莓派Zero W装上‘耳朵’:保姆级驱动安装与录音测试避坑指南
2026/6/6 5:47:01
本文详细介绍几种安装Jupyter Notebook的方法:
首先确保已安装Python(建议Python 3.7+)
pipinstallnotebookjupyter notebook访问 Anaconda官网 下载对应版本
Anaconda已包含Jupyter Notebook,安装后可以直接从开始菜单启动
# 安装Miniconda后condainstalljupyter jupyter notebookjupyter notebook# 启动jupyter notebook --port=8889# 指定端口jupyter notebook --no-browser# 不自动打开浏览器jupyter notebook list# 查看运行中的notebookjupyter notebook stop# 停止服务jupyter notebook --generate-config配置文件位置:~/.jupyter/jupyter_notebook_config.py
# 设置默认工作目录c.NotebookApp.notebook_dir='/path/to/your/workspace'# 允许远程访问c.NotebookApp.allow_remote_access=Truec.NotebookApp.ip='0.0.0.0'# 禁用自动打开浏览器c.NotebookApp.open_browser=False启动后,默认在浏览器打开:http://localhost:8888
pipinstalljupyter_contrib_nbextensions jupyter contrib nbextensioninstall--userjupyter notebook --port=8889# Windows以管理员身份运行# Linux/Mac使用sudojupyter --version选择哪种方法取决于您的需求: