Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save johndpope/187b0dd996d16152ace2f842d43e3990 to your computer and use it in GitHub Desktop.
Save johndpope/187b0dd996d16152ace2f842d43e3990 to your computer and use it in GitHub Desktop.
Create a virtual environment using Anaconda and install various ML tools and TensorFlow

Install Conda https://conda.io/docs/installation.html

Cheatsheet https://conda.io/docs/_downloads/conda-cheatsheet.pdf

//OSX or Linux
conda create -n tensorflow python=3.5
source activate tensorflow
conda install pandas matplotlib jupyter notebook scipy scikit-learn nb_conda nltk  spyder 
conda install -c conda-forge tensorflow keras
pip install gym


//Windows
conda create -n tensorflow python=3.5
activate tensorflow
conda install pandas matplotlib jupyter notebook scipy scikit-learn nltk
conda install -c conda-forge tensorflow keras

// Pygam / RL
brew install sdl sdl_ttf sdl_image sdl_mixer portmidi  wget
conda install -c cogsci pygame 



Python 2.7
conda create -n tensorflow-p2 python=2.7
source activate tensorflow-p2
conda install numpy pandas matplotlib tensorflow jupyter notebook scipy scikit-learn nb_conda  nltk 
conda install -c auto multiprocessing statsmodels


@johndpope
Copy link
Author

pip install spyder

screen shot 2017-06-30 at 20 14 01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment