pythonjupyter⼊门教程
⽬录
1.jupyter
2.jupyter基础操作
2.1windows更新pip库
2.2jupyter安装
2.3初次启动jupyter
2.4设置密码进⼊jupyter
3.创建⼀个jupyter⽂本
4.jupyter⽂本的⽤法
4.1保存和下载⽂本
4.2运⾏和切换代码
python的numpy安装4.3多个代码运⾏
Jupyter Notebook 是⼀个在浏览器中使⽤的交互式的笔记本,可以实现将代码、⽂字完美结合起来,它的受众体⼤多数是⼀些从事数据科学领域相关(机器学习、数据分析等)的⼈员。
1.jupyter
Jupyter Notebook是⼀个开源的Web应⽤程序,允许⽤户创建和共享包含代码、⽅程式、可视化和⽂本的⽂档。它的⽤途包括:数据清理和转换、数值模拟、统计建模、数据可视化、机器学习等等
2.jupyter基础操作
2.1windows更新pip库
C:\Users\篮球>python -m pip install --upgrade pip -i pypi.douban/simple
Looking in indexes: pypi.douban/simple
Collecting pip
Downloading pypi.doubanio/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
2.2jupyter安装
#安装jupyter
pip install jupyter
#有错误提升的话,则需要安装依赖包,No module named 'x' x显⽰什么就安装什么依赖包
pip install maturin
#安装插件,提⾼效率
系统库pip install jupyter_contrib_nbextensions
#更新jupyter
pip install --upgrade jupyter
2.3初次启动jupyter
#按windows键+r 输⼊:jupyter-notebook
#google浏览器输⼊:127.0.0.1:8888 或者 localhost:8888python入门教程(非常详细)书
看到这个页⾯则成功!
机场客服
2.4设置密码进⼊jupyter
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
#再次运⾏jupyter
计算器随机数怎么生成E:\>jupyter notebook
[W 21:12:13.097 NotebookApp] Terminals not available (error was No module named 'winpty')
[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] localhost:8888/
[I 21:12:13.102 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
看到此页⾯则成功
3.创建⼀个jupyter⽂本
4.jupyter⽂本的⽤法
4.1保存和下载⽂本
4.2运⾏和切换代码
4.3多个代码运⾏
欢迎留⽖,互相探讨,勇敢⽜⽜,不怕困难!
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论