Edit

installing anaconda interpreter to zeppelin

Postach.io published

see https://github.com/apache/zeppelin/tree/master/python

python3 interpreter settings

  1. install anaconda
# get installer
curl -O https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh
sudo chmod +x Anaconda3-5.0.1-Linux-x86_64.sh
# run in quiet mode and
# install to /opt
./Anaconda3-5.0.1-Linux-x86_64.sh -b -p /opt/anaconda
  1. symlink libraries
sudo ln -s /opt/anaconda/bin/python3 /usr/bin/
sudo ln -s /opt/anaconda/bin/conda /usr/bin/
sudo ln -s /opt/anaconda/bin/anaconda /usr/bin/
  1. add libraries
python3 -m pip install py4j grpcio
  1. add interpreter
    Interpreter Name = python3
    Interpreter Group = python3
    zeppelin.python = python3 (the python value on the $PATH)
  2. Run with %python3

run with `%python3`

%23%20installing%20anaconda%20interpreter%20to%20zeppelin%20%0A@%28Postach.io%29%5Bpublished%5D%0A%0Asee%20https%3A//github.com/apache/zeppelin/tree/master/python%20%0A%0A%21%5Bpython3%20interpreter%20settings%5D%28./Screen%20Shot%202018-08-22%20at%2011.59.44%20AM.png%29%0A%0A1.%20install%20anaconda%0A%60%60%60bash%0A%23%20get%20installer%0Acurl%20-O%20https%3A//repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh%0Asudo%20chmod%20+x%20Anaconda3-5.0.1-Linux-x86_64.sh%0A%23%20run%20in%20quiet%20mode%20and%0A%23%20install%20to%20/opt%0A./Anaconda3-5.0.1-Linux-x86_64.sh%20-b%20-p%20/opt/anaconda%0A%60%60%60%0A2.%20symlink%20libraries%0A%60%60%60bash%0Asudo%20ln%20-s%20/opt/anaconda/bin/python3%20/usr/bin/%0Asudo%20ln%20-s%20/opt/anaconda/bin/conda%20/usr/bin/%0Asudo%20ln%20-s%20/opt/anaconda/bin/anaconda%20/usr/bin/%0A%60%60%60%0A3.%20add%20libraries%0A%60%60%60bash%0Apython3%20-m%20pip%20install%20py4j%20grpcio%0A%60%60%60%0A4.%20add%20interpreter%20%0AInterpreter%20Name%20%3D%20python3%0AInterpreter%20Group%20%3D%20python3%0A%60zeppelin.python%60%20%3D%20python3%20%28the%20python%20value%20on%20the%20%60%24PATH%60%29%0A5.%20Run%20with%20%60%25python3%60%0A%0A%21%5Brun%20with%20%60%25python3%60%5D%28./Screen%20Shot%202018-08-22%20at%2012.00.32%20PM.png%29%0A%0A%0A%0A%0A%0A