Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
doku:python [2023/06/22 09:43] katrindoku:python [2023/06/22 09:44] katrin
Line 63: Line 63:
 ==== FAQ ==== ==== FAQ ====
  
-**'''eval "$(conda shell.bash hook)"''' fails with '''CommandNotFoundError ...'''**+  * **'''eval "$(conda shell.bash hook)"''' fails with '''CommandNotFoundError ...'''**
  
 Make sure to use the currently provided '''miniconda3''' module via '''module load miniconda3''' Make sure to use the currently provided '''miniconda3''' module via '''module load miniconda3'''
  
- +  * **I see the error '''ModuleNotFoundError: No module named "conda"''' in my slurm job logfile. What is wrong>?**
-**I see the error '''ModuleNotFoundError: No module named "conda"''' in my slurm job logfile. What is wrong>?**+
  
 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 '''--export=NONE''' argument. 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 '''--export=NONE''' argument.
  • doku/python.txt
  • Last modified: 2024/03/19 14:24
  • by katrin