Abekta

Nothing human is alien to me

User Tools

Site Tools


Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
soft:conda [2023/05/05 23:30] asadsoft:conda [2023/10/31 10:34] (current) asad
Line 3: Line 3:
  
 <code> <code>
-conda create --name myenv # create new environment+conda create -myenv # create new environment
 conda activate myenv # activate the environment conda activate myenv # activate the environment
 conda deactivate # deactivate an env conda deactivate # deactivate an env
 conda install sth # install a conda package named sth conda install sth # install a conda package named sth
 conda install sth=2 # install version 2 of sth conda install sth=2 # install version 2 of sth
 +conda remove -n myenv # remove an environment
 +conda init --reverse $SHELL 
 </code> </code>
 +
 +===== User management =====
 +<code>
 +sudo group add mygroup
 +sudo chgrp -R mygroup /opt/anaconda3/
 +sudo chmod 770 -R /opt/anaconda3/
 +sudo adduser username mygroup
 +
 +source /opt/anaconda3/bin/activate
 +conda init
 +</code>
 +
soft/conda.1683351031.txt.gz · Last modified: 2023/05/05 23:30 by asad

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki