Jupyter 介绍
Jupyter 是用于创建和共享计算文档的原始 Web 应用程序。它提供简洁、流畅、以文档为中心的体验。
特点如下:
-
首选语言
Jupyter 支持 40 多种编程语言,包括 Python、R、Julia 和 Scala。 -
共享笔记本
可以使用电子邮件、Dropbox、GitHub 和 Jupyter Notebook 查看器 与他人共享笔记本。 -
交互式输出
你的代码可以生成丰富、交互式的输出:HTML、图像、视频、LaTeX 和自定义 MIME 类型。 -
大数据集成
利用大数据工具,例如 Apache Spark,从 Python、R 和 Scala 中。使用 pandas、scikit-learn、ggplot2 和 TensorFlow 探索相同的数据。
包括下面的子项目:
通常来说Jupyter最常用的是Jupyter Notebook,这个是经典的接口,需要安装在本地,而现在最新的接口项目的是JupyterLab,集成了更多的功能。
参考资源
Jupyter 项目 | 主页 - Jupyter 中文
Project Jupyter | Home
Jupyter Notebook安装
使用以下命令安装经典 Jupyter Notebook
pip install notebook
文件拒绝报错
Attempting uninstall: pip
Found existing installation: pip 25.1.1
Uninstalling pip-25.1.1:
ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: 'c:\python312\lib\site-packages\pip\init.py'
Consider using the --user option or check the permissions.
可能要更新pip
可能要在管理员cmd运行安装命令
可能是安装的网络的问题换镜像源解决
"C:\Python312\python.exe" -m pip install notebook -i https://pypi.mirrors.ustc.edu.cn/simple/ --trusted-host pypi.mirrors.ustc.edu.cn
"C:\Python312\python.exe" -m pip install ipywidgets-i https://pypi.mirrors.ustc.edu.cn/simple/ --trusted-host pypi.mirrors.ustc.edu.cn #这个也一起装了
运行笔记本
jupyter notebook
注意: **不能在管理员cmd运行
jupyter notebook打开其他盘
1.juter notebook 默认打开系统盘
2.更换显示盘
1)打开cmd
2)输入其他盘地址:如e:
3)输入jupyter notebook即打开e盘
具体如图所示
C:\Users\75914>e:
E:\>cd E:\share\02_llm\tokennizer\tokenizer-bench-main
E:\share\02_llm\tokennizer\tokenizer-bench-main>jupyter notebook
jupyter notebook打开其他盘_jupyter打开其他盘-CSDN博客
浙公网安备 33010602011771号