====== Conda ====== Python distribution with various packages and dependency management ===== Installation (Ubuntu) ===== https://conda.io/docs/user-guide/install/index.html Installer: https://www.anaconda.com/download/#linux ===== Bash sourcing ===== . /home/alex/anaconda3/etc/profile.d/conda.sh # cuda cudnn export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH conda activate ===== Important commands ===== # Environment commands, see https://conda.io/docs/user-guide/tasks/manage-environments.html # create new environment conda create -n myenv python=3.6 # activate environment source activate myenv # show conda envs conda env list # show packages in current env conda list # export environment file conda env export > environment.yml # create new environment based on exported yml conda env create -f environment.yml # Package commands, see https://conda.io/docs/user-guide/tasks/manage-pkgs.html#installing-packages # install package conda install scipy=0.15.0 curl=7.26.0 -n py34_env