Pacific-Design.com

    
Home Index

1. Jupyter

2. Installation

Jupyter / Installation /

Jupyter Scala DSE Kernels Installation


$ wget https://github.com/slowenthal/spark-kernel/releases/download/0.1.4.4-cassandra/kernel-0.1.4.4-cassandra.tgz 

$ git clone https://github.com/alexarchambault/jupyter-scala.git

$ ./jupyter-scala-2.10 
 
$ sbt packArchive



$ jupyter notebook --generate-config

$ vi /root/.jupyter/jupyter_notebook_config.py

$ jupyter notebook --no-browser

http://localhost:8888

Console

Run ipython console with this kernel with
  ipython console --kernel scala210

Use this kernel from IPython notebook, running
  ipython notebook
and selecting the "Scala 2.10" kernel.


$ pip install --upgrade pip
$ pip install cql_kernel
$ python -m cql_kernel.install

$ jupyter notebook --help-all

$ jupyter notebook --no-browser --ip=0.0.0.0 --port=80
$ jupyter notebook --no-browser --ip=0.0.0.0 --port=80 >jupyter.out 2>&1 &

Jupyter Notebook Password


In [1]: from notebook.auth import passwd
In [2]: passwd()
Enter password:
Verify password:

PIP


$ pip install --upgrade six

$ pip install cql_kernel --ignore-installed six

References:

http://jupyter.readthedocs.io/en/latest/install.html
https://github.com/alexarchambault/jupyter-scala