Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
doku:python [2023/06/19 08:25] – katrin | doku:python [2023/06/19 08:35] – katrin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Python ====== | + | ====== Python |
- | ===== Quickstart ===== | + | Previously we recommended using spack python packages, however we decided to deprecate this approach since it is much easier and user friendly to use ''' |
+ | |||
+ | The documentation is currently in the process of being revised. For now please either use the old information that is still available OR use the new quickstart guide below. | ||
+ | |||
+ | ===== (Conda) | ||
To install a new environment start with creating an environment yaml file and store it in a safe location (ideally in your source code repository). This step is optional but we really recommend it so you and everyone in your team is able to produce the same python environment. | To install a new environment start with creating an environment yaml file and store it in a safe location (ideally in your source code repository). This step is optional but we really recommend it so you and everyone in your team is able to produce the same python environment. | ||
Line 52: | Line 56: | ||
python --version | python --version | ||
</ | </ | ||
+ | |||
+ | ==== FAQ ==== | ||
+ | |||
+ | **I see the error ''' | ||
+ | |||
+ | The default for sbatch is to use the current user environment and start the job in the context of this environment. Since conda is depending on environment variables being setup correctly you need to ake sure to start the job script from a clean environment. Alternatively you can also use sbatch with the ''' | ||
+ | |||
+ | ====== Deprecated Information (work in progress) ====== | ||
===== Python Installations ===== | ===== Python Installations ===== |