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

reference

Create virtual env

conda create --name tensorflow

List virtual environments

conda env list

Activation

source activate tensorflow

Install tensorflow-gpu, opencv, …

conda install tensorflow-gpu
#conda install -c conda-forge opencv
pip install python-opencv

List packages

conda list -n tensorflow

Jupyter kernel

conda install ipykernel
python -m ipykernel install --user --name tf-gpu --display-name "TensorFlow-GPU"
tips/anaconda.1533041117.txt.gz · Last modified: by scipio