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. JAVAWeb SSH框架 上传文件,如2007的EXCEL

    下面的代码是上传EXCEL的代码,其实,就是在上传文件到服务器,代码都差不多,只是接收的文件的类型改一下即可. 1.jsp 用的是struts2 标签 代码: <s:file name=&quo ...

  2. [bzoj1568]李超线段树模板题(标志永久化)

    题意:要求在平面直角坐标系下维护两个操作: 1.在平面上加入一条线段.记第i条被插入的线段的标号为i. 2.给定一个数k,询问与直线 x = k相交的线段中,交点最靠上的线段的编号. 解题关键:注意标 ...

  3. 7、RNAseq Downstream Analysis

    Created by Dennis C Wylie, last modified on Jun 29, 2015 Machine learning methods (including cluster ...

  4. 5.6 安装Virtual box

    本以为安装虚拟机很复杂的样子,经过kevin一指点,发现soeasy.废话少说,直接上图片: 将安装包放到自己的目录下: 安装完后,可以在搜索框中搜索:virtual 会出现安装好的虚拟机盒子.

  5. ES Docs-1:Installation Elasticsearch-2.3.1

    installation Elasticsearch requires at least Java 7. Specifically as of this writing, it is recommen ...

  6. cygwin主要命令

    基本操作命令: ---------------------------------------------------------------------- --------------------- ...

  7. 洛谷P1349 广义斐波那契数列

    传送门 话说谁能告诉我矩阵怎么用latex表示…… 差不多就这样 //minamoto #include<iostream> #include<cstdio> #include ...

  8. [Xcode 实际操作]四、常用控件-(14)使用UIWebView控件加载本地HTML

    目录:[Swift]Xcode实际操作 本文将演示使用网页视图,加载并渲染网页代码. 在项目导航区,打开视图控制器的代码文件[ViewController.swift] import UIKit im ...

  9. JNI/NDK开发

    公司的新需求终于解决完了,离测试和发布还有段时间,第一次体验了下没需求没bug的感觉,真是舒爽~然后翻了翻有什么可以学的.无意翻到了Android后期发展的五大趋势.一.性能优化.二.高级UI.三.J ...

  10. C#网络编程学习(4)---Socket Tcp进阶之 使用异步循环接收客户端连接和信息

    1.方法介绍 BeginAccept(AsyncCallback callback, object state); 异步开始监听客户端连接. callback为一个委托,在成功接收客户端连接时调用委托 ...