Skip to content

Instantly share code, notes, and snippets.

@jovianlin
Last active December 7, 2016 13:54
Show Gist options
  • Save jovianlin/f176ddb19433036df0ad172fd663fe6e to your computer and use it in GitHub Desktop.
Save jovianlin/f176ddb19433036df0ad172fd663fe6e to your computer and use it in GitHub Desktop.
Anaconda & Tensorflow
# ===================================================================================
# Many thanks to:
# https://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/20/conda/
#
# More info:
# https://www.continuum.io/blog/developer-blog/python-packages-and-environments-conda
# https://conda-forge.github.io/#about
# ===================================================================================
# conda info --env
#===========#
# To Create #
#===========#
conda create -n python27 python=2.7 anaconda
conda create -n python35 python=3.5 anaconda
#===========#
# To Remove #
#===========#
#conda remove -n <envname> --all
#conda remove -n python27 --all
#conda remove -n python35 --all
#==========#
# Activate #
#==========#
source activate <envname>
#============#
# Deactivate #
#============#
#source deactivate
conda install -c conda-forge tensorflow && pip install termcolor cache
conda upgrade --all && conda update --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment