start:development:scripting_languages:python

Differences

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

Link to this comparison view

start:development:scripting_languages:python [2020/04/16 19:28]
jrutte02 created
start:development:scripting_languages:python [2020/05/08 10:12] (current)
jrutte02 [Your Personal Environment (Additional Packages)]
Line 56: Line 56:
 In general, having a personal Python environment where you can install third-party packages (without needing root priviliges) yourself is very easy. The preparation steps needed on MOGON are described below. In general, having a personal Python environment where you can install third-party packages (without needing root priviliges) yourself is very easy. The preparation steps needed on MOGON are described below.
  
-{{:​software:​python_environment.png?​direct&​400 |https://​xkcd.com/​1987/​}} While the first variant is already sufficient, we recommend using [[#​using_virtualenvs|virtualenvs]] since they are a lot easier to work with.+<​grid>​ 
 +<col lg="​6"​ md="​12"​ sm="​12"​ xs="​12">​ 
 +{{:​software:​python_environment.png?​direct&​400 |https://​xkcd.com/​1987/​}} ​ 
 + 
 +While the first variant is already sufficient, we recommend using [[#​using_virtualenvs|virtualenvs]] since they are a lot easier to work with.
 Virtualenvs can also be shared between users if created in your groups project directory, but most importantly virtual environments bear the potential to avoid the [[https://​xkcd.com/​1987/​|setup hell]] you might otherwise experience. Virtualenvs can also be shared between users if created in your groups project directory, but most importantly virtual environments bear the potential to avoid the [[https://​xkcd.com/​1987/​|setup hell]] you might otherwise experience.
 +</​col>​
  
 +<col lg="​6"​ md="​12"​ sm="​12"​ xs="​12">​
 <callout type="​danger"​ icon="​true">​ <callout type="​danger"​ icon="​true">​
 Do not use any of the modules ending on ''​-bare''​ as they are installed as special dependencies for particular modules (or actually installed by accident) to construct your virtual environment. Do not use any of the modules ending on ''​-bare''​ as they are installed as special dependencies for particular modules (or actually installed by accident) to construct your virtual environment.
Line 66: Line 72:
 We strongly discourage using any ''​*conda''​ setup on one of our clusters: It has often been a source of messing up an existing environment only to be discovered at a source of interference when switching back our modules. ​ We strongly discourage using any ''​*conda''​ setup on one of our clusters: It has often been a source of messing up an existing environment only to be discovered at a source of interference when switching back our modules. ​
 </​callout>​ </​callout>​
 +</​col>​
 +</​grid>​
 +
 +
 +
 +
  
 ==== Personal Setup ==== ==== Personal Setup ====
  • start/development/scripting_languages/python.txt
  • Last modified: 2020/05/08 10:12
  • by jrutte02