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

Next revision
Previous revision
soft:conda [2023/05/01 13:11] – created asadsoft:conda [2023/10/31 10:34] (current) asad
Line 1: Line 1:
 ====== Anaconda ====== ====== Anaconda ======
 +Install on Ubuntu like this: https://docs.anaconda.com/free/anaconda/install/linux
  
 <code> <code>
-conda create --name myenv+conda create -n myenv # create new environment 
 +conda activate myenv # activate the environment 
 +conda deactivate # deactivate an env 
 +conda install sth # install a conda package named sth 
 +conda install sth=2 # install version 2 of sth 
 +conda remove -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.1682968280.txt.gz · Last modified: 2023/05/01 13:11 by asad

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki