Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:services:application_services:jupyter:start [2020/02/04 13:23]
bwegman1 [Jupyter / Jupyter-Hub]
en:services:application_services:jupyter:start [2020/03/04 08:56] (current)
bbrauns [Install addition kernel with pipenv]
Line 197: Line 197:
   * Stop and restart server via control panel   * Stop and restart server via control panel
   * Afterwards "​projectname"​ is usable as new kernel ​   * Afterwards "​projectname"​ is usable as new kernel ​
 +
 +==== Install additional julia packages with an extra kernel ====
 +** !experimental! **
 +
 +The jupyter docker stacks image sets the variable JULIA_DEPOT_PATH to the path /opt/julia. However, this is volatile, since only the home directory is kept persistent. The following describes the installation of a new julia kernel, which has its package directory pointed to the home directory:
 +
 +<​code>​
 +Start terminal  ​
 +Temporarily change julia package directories:  ​
 +
 +export JULIA_DEPOT_PATH=/​home/​jovyan/​.julia-depot
 +export JULIA_PKGDIR=/​home/​jovyan/​.julia-depot
 +
 +Create directory for custom packages and new julia kernel:
 +
 +> mkdir /​home/​jovyan/​.julia-depot
 +> julia
 +julia > # switch to pkg with '​]'​ character
 +pkg > add IJulia # switch back to julia with CTRL+C
 +julia > using IJulia
 +    ​installkernel("​My-Julia-kernel",​ env=Dict("​JULIA_DEPOT_PATH"​=>"/​home/​jovyan/​.julia-depot"​))
 +Restart notebook server
 +Create new notebook with "​My-Julia-kernel"​ kernel
 +Add package example: ​
 +
 +using Pkg
 +Pkg.add("​DataFrames"​)
 +</​code>​
 +
 +
 +
  
 ===== More information about the service being in beta ===== ===== More information about the service being in beta =====
  
 To learn more about the practical implications of a [[en:​services:​application_services:​jupyter:​beta|beta service]] see the explanation of a [[en:​services:​application_services:​jupyter:​beta|beta service]]. To learn more about the practical implications of a [[en:​services:​application_services:​jupyter:​beta|beta service]] see the explanation of a [[en:​services:​application_services:​jupyter:​beta|beta service]].