Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
### Installation
```
python3 -m venv mypython
source mypython/bin/activate
pip install --upgrade pip
pip install Jupiterlab
```
### Installation of Kernels
For the R kernel:
```{r}
R> install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))
R> devtools::install_github('IRkernel/IRkernel')
```
For the Julia kernel:
```
julia> Pkg.add("IJulia")
```
### Configuring
```
jupyter notebook --generate-config
```
generate passwd using python3
```
cd ~/.jupyter
openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout mykey.key -out mycert.pem
```
see uncommented lines in my `.jupyter/jupyter_notebook_config.py`
`grep -v "^#" jupyter_notebook_config.py |grep "c"`
```
c.NotebookApp.certfile = u'/home/arndt/.jupyter/mycert.pem'
c.NotebookApp.ip = '*'
c.NotebookApp.keyfile = u'/home/arndt/.jupyter/mykey.key'
c.NotebookApp.open_browser = False
c.NotebookApp.password = u'sha1:aaaaaaaaaaaaaaabbbbbababababababababa'
c.NotebookApp.port = 11001
```
For a newer node version - needed during upgrade
```
export PATH=/usr/share/atom/resources/app/apm/bin:$PATH
export PATH=/home/arndt/tmp/node-v8.11.3-linux-x64/bin:$PATH
```
# Extensions
to see plotly plot:
```
jupyter labextension install @jupyterlab/plotly-extension
```