Last active
December 7, 2016 13:54
-
-
Save jovianlin/f176ddb19433036df0ad172fd663fe6e to your computer and use it in GitHub Desktop.
Anaconda & Tensorflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# =================================================================================== | |
# 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