Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:services:application_services:jupyter:start [2019/05/10 14:25]
bwegman1 [Jupyter / Jupyter-Hub]
en:services:application_services:jupyter:start [2019/08/02 11:03]
bwegman1 [Installing additional python modules]
Line 5: Line 5:
 ===== What is Jupyter / Jupyter-Hub?​ ===== ===== What is Jupyter / Jupyter-Hub?​ =====
  
-Jupyter makes it possible to work interactively with Python, Juliaor haskell ​with only a browser. Source Code is written, executed and edited directly in the user's browser. This happens in a so called "​notebook"​. Each notebook has a "​kernel"​ which determines the type of notebook, which can be a Python, Juliaor haskell ​notebook.+Jupyter makes it possible to work interactively with Python, Julia or R with only a browser. Source Code is written, executed and edited directly in the user's browser. This happens in a so called "​notebook"​. Each notebook has a "​kernel"​ which determines the type of notebook, which can be a Python, Julia or R notebook.
  
 Jupyter-Hub is the portal users log in to and start and manage their notebooks and associated files. Jupyter-Hub is the portal users log in to and start and manage their notebooks and associated files.
Line 41: Line 41:
 Additional Python modules can be installed via the terminal and the Python package manager "​pip"​. To do this, a terminal must be opened via the menu "​New"​ -> "​Terminal"​. Afterwards <​code>​pip install --user <​module></​code>​ installs a new module in the home directory. Additional Python modules can be installed via the terminal and the Python package manager "​pip"​. To do this, a terminal must be opened via the menu "​New"​ -> "​Terminal"​. Afterwards <​code>​pip install --user <​module></​code>​ installs a new module in the home directory.
  
 +=== Installing large python modules and disk space ===
 +
 +The installation of large Python modules like "​tensorflow"​ may fail with a message "No space left on device"​. This is caused by the temporary space under "/​tmp"​ being too small for pip to work the downloaded packages. The following steps use a temporary directory in the much larger user home directory for this one installation:​
 +
 +<code bash>
 +mkdir -v ~/​.user-temp
 +TEMP=~/​.user-temp pip install --user <​module>​
 +</​code>​
 +
 +Prefixing the installation with the TEMP variable makes pip use that location for this one installation.
 ==== Installing additional R packages==== ==== Installing additional R packages====
 <​code>​ <​code>​