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號