juypter-notebook安装配置

1 jupyter notebook概述

Jupyter Notebook(此前被称为 IPython notebook)是一个交互式笔记本,支持运行 40 多种编程语言。
前端展现基于浏览器,可以远程使用(服务器上安装使用jupyter notebook)
跨平台 ipad就可以用?

通过内核支持语言扩展

jupyter kernelspec list

2 jupyter notebook安装

pip3 install jupyter
jupyter notebook

3 在jupyter notebook中运行pyspark

PYSPARK_DRIVER_PYTHON=jupyter PYSPARK_DRIVER_PYTHON_OPTS="notebook" ~/run/spark-2.0.0-bin-hadoop2.7/bin/pyspark

4 在jupyter notebook中安装toree(scala for spark)

 

4.1 版本要求

scala: 2.10.4
spark: 1.6.2
高版本的安装包尚未正式发布,需要自己编译、安装(需要docker,没有走通)

4.2 配置环境变量

export SCALA_HOME=/usr/local/Cellar/scala/2.10.4
export PATH=$SCALA_HOME/bin:$PATH export SPARK_HOME="/Users/galaxy/run/spark-1.6.2-bin-hadoop2.6/"
export PATH=$SPARK_HOME/bin:$PATH

4.3 执行安装

pip3 install --pre toree
jupyter toree install

4.4 运行

jupyter notebook
New -> Apache Toree-scala

5 参考资料

Running Spark Applications Using IPython and Jupyter Notebooks
http://www.cloudera.com/documentation/enterprise/5-5-x/topics/spark_ipython.html#ipython__notebook_quickstart

Using IPython Notebook with Apache Spark - Hortonworks
http://zh.hortonworks.com/hadoop-tutorial/using-ipython-notebook-with-apache-spark/

27 Jupyter Notebook tips, tricks and shortcuts
https://www.dataquest.io/blog/jupyter-notebook-tips-tricks-shortcuts/

GitHub - tribbloid/ISpark: An Apache Spark-shell backend for IPython
https://github.com/tribbloid/ISpark

GitHub - alexarchambault/jupyter-scala: Lightweight Scala kernel for Jupyter / IPython 3
https://github.com/alexarchambault/jupyter-scala

GitHub - apache/incubator-toree: Mirror of Apache Toree (Incubating)
https://github.com/apache/incubator-toree

Hadoop Dev | How to install Jupyter Notebook for Spark - Hadoop Dev
https://developer.ibm.com/hadoop/2016/05/04/install-jupyter-notebook-spark/

How to install the Scala Spark (Apache Toree) Jupyter kernel with GeoMesa support - GeoMesa - Confluence
https://geomesa.atlassian.net/wiki/display/GEOMESA/How+to+install+the+Scala+Spark+(Apache+Toree)+Jupyter+kernel+with+GeoMesa+support

Tour of the Jupyter (IPython3) notebook — Computational Statistics in Python 0.1 documentation
http://people.duke.edu/~ccc14/sta-663/Jupyter.html
./jove-scala –kernel-spec

How it works
https://toree.incubator.apache.org/documentation/user/how-it-works.html

GitHub - andypetrella/spark-notebook: Interactive and Reactive Data Science using Scala and Spark.
https://github.com/andypetrella/spark-notebook/

jupyter与spark kernel结合的notebook安装及使用 - heng_2218的博客 - 博客频道 - CSDN.NET
http://blog.csdn.net/heng_2218/article/details/51006075

Author: galaxy

Created: 2016-10-24 Mon 09:49

Emacs 24.5.6 (Org mode 8.2.10)

Validate

juypter-notebook安装配置的更多相关文章

  1. anaconda+jupyter notebook 安装配置

    安装Anaconda 从清华大学开源软件镜像站选择合适自己的版本 wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda ...

  2. jupyter notebook 安装配置使用,+目录插件安装

    1.安装 pip3 install jupyter 2.配置 2.1. 生成一个 notebook 配置文件 jupyter notebook --generate-config /root/.jup ...

  3. jupyter notebook——安装配置

    本地登陆 cmd输入下面的命令,会进入用户主目录 jupyter notebook 在浏览器打开时,提示输入token,复制命令行上的token还是不能进入,其实浏览器上有提示的,按照提示操作即可,输 ...

  4. [Mac][Python][Jupyter Notebook]安装配置和使用

    Jupyter 项目(以前称为 IPython 项目),提供了一套使用功能强大的交互式 shell 进行科学计算的工具,实现了将代码执行与创建实时计算文档相结合. 这些 Notebook 文件可以包含 ...

  5. 全真教程:Windows环境Jupyter Notebook安装、运行和工作文件夹配置

    全真教程:Windows环境Jupyter Notebook安装.运行和工作文件夹配置 @ 目录 全真教程:Windows环境Jupyter Notebook安装.运行和工作文件夹配置 一.Jupyt ...

  6. TensorFlow Jupyter Notebook 和matplotlib安装配置

    Jupyter Notebook 和matplotlib Jupyter Notebook安装 Python 3 : python3 -m pip install --upgrade pip pyth ...

  7. Windows下的Jupyter Notebook 安装与自定义启动(图文详解)

    不多说,直接上干货! 前期博客 Windows下的Python 3.6.1的下载与安装(适合32bits和64bits)(图文详解) 这是我自定义的Python 的安装目录 (D:\SoftWare\ ...

  8. Windows下的Jupyter Notebook 安装与自定义启动

    1.Jupyter Notebook 和 pip 为了更加方便地写 Python 代码,还需要安装 Jupyter notebook. 利用 pip 安装 Jupyter notebook. 为什么要 ...

  9. Hive安装配置指北(含Hive Metastore详解)

    个人主页: http://www.linbingdong.com 本文介绍Hive安装配置的整个过程,包括MySQL.Hive及Metastore的安装配置,并分析了Metastore三种配置方式的区 ...

随机推荐

  1. Flask17 Flask_Script插件的使用

    1 什么是Flask_Script 可以对flask应用做一些统一的操作 flask_script官网:点击前往 2 安装flask_script pip install -i https://pyp ...

  2. Robot Framework 接口自动化介绍

    接口测试的重要性大家应该都清楚,就不多说了,本文中主要介绍接口测试如何在robot framework自动化测试框架中进行. 一.环境依赖 1.安装robot framework环境,本文中不做讲解 ...

  3. R语言 arules包 apriori()函数中文帮助文档(中英文对照)

    apriori(arules) apriori()所属R语言包:arules                                         Mining Associations w ...

  4. unreal3启动地图设置

    在defaultengine.ini中[URL]节: Map=MOBATinyMap.udkLocalMap=MOBATinyMap.udk 这里有Map和LocalMap两个属性,让人有点混淆,只好 ...

  5. 1. xss原理分析与剖析(1)

    0×01 前言: <xss攻击手法>一开始在互联网上资料并不多(都是现成的代码,没有从基础的开始),直到刺的<白帽子讲WEB安全>和cn4rry的<XSS跨站脚本攻击剖析 ...

  6. 会话临时表 ORA-14452

    需要使用Oracle的临时表,向其中插入记录,用完后再删除.但是后来发现临时表的删除总是失败,返回错误: ORA-14452: attempt to create, alter or drop an ...

  7. Python中的循环语句

    Python中有while循环和for循环 下面以一个小例子来说明一下用法,用户输入一些数字,输出这些数字中的最大值和最小值 array = [5,4,3,1] for i in array: pri ...

  8. 前端编码规范 -- html篇

    文档类型 推荐使用 HTML5 的文档类型申明: <!DOCTYPE html> (建议使用 text/html 格式的 HTML.避免使用 XHTML.XHTML 以及它的属性,比如 a ...

  9. Go:定时执行任务time.sleep和time.tick的优劣

    golang 写循环执行的定时任务,常见的有以下三种实现方式:1.time.Sleep方法: for { time.Sleep(time.Second) fmt.Println("我在定时执 ...

  10. 如何给自己的开源项目选择和添加 License

    License 的作用:开源 == 为所欲为? 开源并不等于为所欲为! 代码的用途,修改之后的代码有什么要求,开源程序对于原作者的权利和责任等等,都是需要明确的. 开源协议 License 就是这么一 ...