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/19 08:37] katrindoku:python [2023/06/20 08:20] – [Optional: execute conda runtime hooks on login] susit8
Line 26: Line 26:
  
 # create your environment via environment file # create your environment via environment file
-(base) $ conda create -n my-env --file my_env.yaml+# this will place the environment in your ~/.conda/envs folder 
 +# note: make sure to use "conda >env< create" - "conda create" is a different command 
 +(base) $ conda env create -n my-env --file my_env.yaml
  
 # after creation you can activate the environment to run code in it # after creation you can activate the environment to run code in it
Line 114: Line 116:
  
 <code bash> <code bash>
-conda init bash --dry-run --verbose | grep "# >>> conda initialize" -A 100 | grep "# <<< conda initialize" -B 100 | sed 's/+//g' > ~/.bashrc+conda init bash --dry-run --verbose | grep "# >>> conda initialize" -A 100 | grep "# <<< conda initialize" -B 100 | sed 's/+//g' >> ~/.bashrc
 source ~/.bashrc source ~/.bashrc
 </code> </code>
  • doku/python.txt
  • Last modified: 2024/03/19 14:24
  • by katrin