[AI] Keras Installing Guide With Anaconda (really easy)

Keras Homepage

Keras is COOL deep learning library for Theno and TensorFlow, and written on python.

I tried to install it with Anaconda because I use Windows.

Anaconda is powerful tool to make virtual environment (not virtual machine) (and it supports macOS, and linux too)

So it make easier installing something like tensor-flow, whatever through the pip…


At first, you should install Anaconda in your Windows.


After installing Anaconda, open a CMD(or Terminal in Mac, or Linux), and create new Anaconda environment that use Python 3.5

  1. conda create --name keras python=3.5

Okay, you just created an Anaconda environment named “keras”.

To use the environment, we should activate the environment.

  1. activate keras

If you can see “(keras)” in front of each line, you successfully enter environment.

Next step is installing libraries.

  1. conda install theano
  2. conda install mingw libpython
  3. pip install tensorflow
  4. pip install keras

That’s all! Let’s test it out.

  1. python -c "from keras import backend; print(backend._BACKEND)"

stackoverflow article