Project

General

Profile

View metrics with jupyterlab » History » Version 1

Version 1/12 - Next » - Current version
Ron Rechenmacher, 10/02/2019 11:55 AM


View metrics with jupyterlab

setup python v2_7_15a            # optional
pip install --user virtualenv    # optional
pip install --user jupyter\>5.0
virtualenv blah          # blah is a name you give to your virtual environment
export PATH=$HOME/.local/bin:$PATH

Install Jupyterlab on mu2edaq

Setup python

source /mu2e/ups/setup
setup python v2_7_14b

Install python virtualenv

pip install --user virtualenv

Modify PATH and LD_LIBRARY_PATH

export PATH=$HOME/.local/bin:$PATH
export LD_LIBRARY_PATH=$HOME/.local/lib:$LD_LIBRARY_PATH

Create new virtual env, activate it, and install jupyterlab

virtualenv my_new_env
source $HOME/my_new_env/bin/activate
pip install jupyterlab

Start jupyterlab

source /mu2e/ups/setup
setup python v2_7_14b
source $HOME/my_new_env/bin/activate
jupyter-lab --no-browser
# then copy the URL from the terminal and open it in the browser of your choice