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
Next revisionBoth sides next revision
doku:python [2023/06/20 08:20] – [Optional: execute conda runtime hooks on login] susit8doku:python [2023/06/22 09:42] katrin
Line 38: Line 38:
 </code> </code>
  
-You can now start developing and even just use the environment in a slurm script+You can now start developing and even use the environment in a slurm script
  
 <code> <code>
Line 51: Line 51:
  
 # see "Setup Conda" above or consult "module avail miniconda3" to get the right package name # see "Setup Conda" above or consult "module avail miniconda3" to get the right package name
-module load MINICONDA3_PACKAGE_NAME+module load miniconda3
 eval "$(conda shell.bash hook)" eval "$(conda shell.bash hook)"
 conda activate myenv conda activate myenv
Line 62: Line 62:
  
 ==== FAQ ==== ==== FAQ ====
 +
 +**'''eval "$(conda shell.bash hook)"''' fails with '''CommandNotFoundError ...'''
 +
 +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>?**
  • doku/python.txt
  • Last modified: 2024/03/19 14:24
  • by katrin