Python 官方文档:入门教程 => 点击学习
目录1.jupyter简介2.jupyter基础操作2.1windows更新pip库2.2jupyter安装2.3初次启动jupyter2.4设置密码进入jupyter#再次运行ju
Jupyter Notebook是一个开源的WEB应用程序,允许用户创建和共享包含代码、方程式、可视化和文本的文档。
它的用途包括:数据清理和转换、数值模拟、统计建模、数据可视化、机器学习等等
python -m pip install --upgrade pip -i https://pypi.douban.com/simple
C:\Users\篮球>Python -m pip install --upgrade pip -i Https://pypi.douban.com/simple
Looking in indexes: https://pypi.douban.com/simple
Collecting pip
Downloading https://pypi.doubaNIO.com/packages/ca/31/b88ef447d595963c01060998cb329251648acf4a067721b0452c45527eb8/pip-21.2.4-py3-none-any.whl (1.6 MB)
|████████████████████████████████| 1.6 MB 1.1 MB/s
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.1.1
Uninstalling pip-20.1.1:
Successfully uninstalled pip-20.1.1
Successfully installed pip-21.2.4
#安装jupyter
pip install jupyter
#有错误提升的话,则需要安装依赖包,No module named 'x' x显示什么就安装什么依赖包
pip install maturin
#安装插件,提高效率
pip install jupyter_contrib_nbextensions
#更新jupyter
pip install --upgrade jupyter
#按windows键+r 输入:jupyter-notebook
#Google浏览器 输入:127.0.0.1:8888 或者 localhost:8888
看到这个页面则成功!
C:\>CD jupyter
C:\jupyter>
#windows命令创建文件
C:\jupyter>jupyter notebook --generate-config #生成文件
C:\jupyter>jupyter notebook passWord #设置密码
x x x x
#或者查看token输入登录
C:\jupyter>jupyter notebook list
E:\>jupyter notebook
[W 21:12:13.097 NotebookApp] Terminals not available (error was No module named 'winpty.cywinpty')
[I 21:12:13.099 NotebookApp] Serving notebooks from local directory: E:\
[I 21:12:13.099 NotebookApp] Jupyter Notebook 6.4.3 is running at:
[I 21:12:13.102 NotebookApp] http://localhost:8888/
[I 21:12:13.102 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
看到此页面则成功!!!
以上就是Python入门-jupyter基础操作及文本用法的详细内容,更多关于python入门的资料请关注编程网其它相关文章!
--结束END--
本文标题: python入门jupyter基础操作及文本用法
本文链接: https://www.lsjlt.com/news/134756.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0