【工具使用系列】Jupyter(IPython) FAQs,你需要知道的事
来源:互联网 发布:rds 阿里云 编辑:程序博客网 时间:2024/06/05 08:24
安装方式(两种)
针对新用户,使用Anaconda和conda安装Jupyter
- 下载Anaconda(Python IDE)
Python3.5版本
https://repo.continuum.io/archive/Anaconda3-4.2.0-Windows-x86_64.exe
Python2.7版本
https://repo.continuum.io/archive/Anaconda2-4.2.0-Windows-x86_64.exe - 安装Anaconda
- 安装到此结束,让我们开始玩吧!
1.点击Jupyter Notebook快捷方式
2.键入“print “hello world””, 点击“run cell, select below”按钮(或者 shift+enter),输出“hello world”
针对资深玩家,使用Pip进行安装
默认已经安装Python 2.7或者Python 3.5
- cmd命令行输入cd C:\Python2.x\Scripts或者cd C:\Python3.x\Scripts,其后输入pip install jupyter;
1. 命令输入之前的状态
1. 命令输入之前的Scripts文件夹目录
2. 命令输入之后的状态
2. 命令输入之后的Scripts文件夹目录,出现了ipython应用程序 - 安装到此结束,让我们开始玩吧!
cmd命令行输入cd C:\Python2.x\Scripts或者cd C:\Python3.x\Scripts,其后输入ipython notebook;
1.命令输入之前的状态
1.命令输入之后的状态
2.浏览器启动,IPython notebook开始运行
2.IPython notebook开始运行,新建Python2 notebook
2.Python2 notebook开始运行, 输入框出现
2.键入“print “hello world””, 点击“run cell, select below”按钮(或者 shift+enter),输出“hello world“
无法通过输入IPython notebook –pylab=inline开启IPython pylab模式?
在打开Jupyter(IPython) notebook的情况下,输入%matplotlib inline、%matplotlib notebook、%pylab inline或者%pylab notebook模式(四选一;仅输入一次)魔术命令;
%matplotlib inline
IPython notebook开始运行后,输入%matplotlib inline魔术命令
%matplotlib notebook
IPython notebook开始运行后,输入%matplotlib notebook魔术命令
%pylab inline
IPython notebook开始运行后,输入%pylab inline魔术命令
%pylab notebook
IPython notebook开始运行后,输入%pylab notebook魔术命令
http://jupyter.org/
0 0
- 【工具使用系列】Jupyter(IPython) FAQs,你需要知道的事
- 【工具使用系列】Tensorflow FAQs,你需要知道的事
- 【工具使用系列】Python FAQs: Spyder(winPython, Python(x,y), Anaconda)下,如何使用ipython --pylab!
- IPython notebook(Jupyter Notebook) 的使用
- 安装使用jupyter(原来的Ipython notebook)
- 【脚本语言系列】关于Python测试工具lettuce, 你需要知道的事
- 【脚本语言系列】关于Python测试工具mock, 你需要知道的事
- 【脚本语言系列】关于Python测试工具unittest, 你需要知道的事
- 【脚本语言系列】关于Python测试工具docstrings, 你需要知道的事
- 【脚本语言系列】关于Python测试工具Pyflakes, 你需要知道的事
- 【脚本语言系列】关于Python测试工具Pylint, 你需要知道的事
- 【脚本语言系列】关于Python性能分析工具timeit, 你需要知道的事
- 【脚本语言系列】关于Python代码分析工具line_profiler,你需要知道的事
- 【脚本语言系列】关于Python游戏工具Pygame,你需要知道的事
- linux/ubuntu下IPython、IPython Notebook(jupyter)的安装和基本使用
- Jupyter(IPython)
- 【脚本语言系列】关于Python系统管理,你需要知道的事
- 【脚本语言系列】关于Python容器,你需要知道的事
- 用Linux Deploy在Android手机上安装Linux
- HDU 1.3.6 悼念512汶川大地震遇难同胞--买米
- AndroidStudio加载so库所遇到的问题
- 请问是不是发布app时一定要重新生成keyStore文件?使用默认的可不可以?
- hadoop安装和维护07--安装Ambari Server(02)
- 【工具使用系列】Jupyter(IPython) FAQs,你需要知道的事
- 解决SDK更新问题
- 我的服务器开发之路-禁止root登录和普通用户获取root权限
- 坚持#第137天~循循渐进!
- App 后台架构设计方案 设计思想与最佳实践
- android 自定义字体样式
- react Native push传值 第二个页面接收不到数据
- 存储与触发
- 怎样花两年时间去面试一个人