User Tools

Site Tools


tips:anaconda

**This is an old revision of the document!**

Table of Contents

Anaconda

Install

Download from here

bash Anaconda3-5.1.0-Linux-x86_64.sh

For zsh integration edit .zshrc

export PATH="/opt/anaconda3/bin:$PATH"
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(anaconda virtualenv dir vcs)

Update

conda update conda
conda update anaconda
conda update python
conda update --all

Tensorflow GPU

Create virtual env

conda create --name tensorflow

List virtual environments

conda env list

Activation

source activate tensorflow

Install tensorflow-gpu

conda install tensorflow-gpu

List packages

conda list -n tensorflow

Jupyter kernel <code> conda install ipykernel python -m ipykernel install –user –name tf-gpu –display-name “TensorFlow-GPU” <code>

tips/anaconda.1532621183.txt.gz · Last modified: by scipio