programming_languages:python:conda

Conda

Python distribution with various packages and dependency management

. /home/alex/anaconda3/etc/profile.d/conda.sh

# cuda cudnn
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
conda activate
# 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
  • programming_languages/python/conda.txt
  • Last modified: 2018/09/23 12:34
  • by phreazer