Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
en:services:application_services:jupyter:start [2019/05/10 14:26]
bwegman1 [What is Jupyter / Jupyter-Hub?]
en:services:application_services:jupyter:start [2019/08/02 11:03]
bwegman1 [Installing additional python modules]
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>​