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
en:services:application_services:jupyter:hpc [2020/07/03 10:45]
akhuziy [Installing additional Python modules]
en:services:application_services:jupyter:hpc [2020/08/04 20:51]
akhuziy [Installing additional Python modules]
Line 62: Line 62:
  
 ==== Installing additional Python modules ==== ==== Installing additional Python modules ====
-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 ​+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"​. ​ 
 + 
 +By default the Internet is not accessible within the Notebook, in order to install or download from Internet, you need to use Proxy by exporting following environment variables:​ 
 +<code bash>​export https_proxy="​https://​www-cache.gwdg.de:​3128/"​ 
 +export http_proxy="​http://​www-cache.gwdg.de:​3128/"</​code>​ 
 +Afterwards ​
 <code bash>​python3 -m pip install --user <​module></​code> ​ <code bash>​python3 -m pip install --user <​module></​code> ​
 installs a new module in the home directory. installs a new module in the home directory.
Line 87: Line 92:
  
 apt-get -y update apt-get -y update
-apt-get -y install ​python3-pip ​net-tools+apt-get -y install net-tools
 apt-get -y install curl wget apt-get -y install curl wget
  
Line 121: Line 126:
  
 XDG_RUNTIME_DIR=""​ XDG_RUNTIME_DIR=""​
-PATH=${PATH}:/​opt/​conda/​bin+PATH=/​opt/​conda/​bin:${PATH}
 </​code>​ </​code>​
     ​     ​