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. 树莓派 Learning 002 必备的操作 --- 08 实现PC端 远程登入 树莓派 --- 法1 远程登入树莓派的命令行状态

    树莓派 必备的操作 - 实现PC端 远程登入 树莓派 - 法1 远程登入树莓派的命令行状态 我的树莓派型号:Raspberry Pi 2 Model B V1.1 装机系统:NOOBS v1.9.2 ...

  2. R: data.frame 数据框的:查询位置、排序(sort、order)、筛选满足条件的子集。。

    ################################################### 问题:数据框 data.frame 查.排序等,   18.4.27 怎么对数据框 data.f ...

  3. Idea调整目录结构

  4. 电脑MAC地址

    电脑MAC地址(Media Access Control) MAC地址是固化在网卡上串行EEPROM中的物理地址,通常有48位长.用来表示互联网上每一个站点的标识符,采用十六进制数表示. 任一网络设备 ...

  5. 【本人译作推荐】Windows 8应用开发:C#和XAML卷(原名:Building Windows 8 Apps with C# and XAML)

    [图书推荐] 译名:Windows 8应用开发:C#和XAML卷 原名:Building Windows 8 Apps with C# and XAML   编辑推荐 国内第一本使用XAML与C#语言 ...

  6. HTML5学习笔记(六)web worker

    当在 HTML 页面中执行脚本时,页面的状态是不可响应的,直到脚本已完成.web worker 是运行在后台的 JavaScript,不会影响页面的性能,页面可以响应. 在创建 web worker ...

  7. 谈谈Java异常处理这件事儿

    此文已由作者谢蕾授权网易云社区发布. 欢迎访问网易云社区,了解更多网易技术产品运营经验. 前言 我们对于"异常处理"这个词并不陌生,众多框架和库在异常处理方面都提供了便利,但是对于 ...

  8. 2018CCPC网络赛A(优先队列,思维)

    #include<bits/stdc++.h>using namespace std;priority_queue<pair<int,int>>q;int main ...

  9. Hibernate单表映射学习笔记之一——hibernalnate开发环境配置

    1.什么是ORM? Object/Relationship Mapping:对象/关系映射 2.写SQL语句不好之处: (1)不同数据库使用的SQL语法不同(PL/SQL.T/SQL) (2)同样的功 ...

  10. HBase 命令简介

    1. 进入HBase 的控制端(可以在任意一台机器上启动,只要其配置和HMaster 的配置一样): hbase shell 进入后,出现类似下面的提示符:   hbase(main):002:0&g ...