0% found this document useful (0 votes)
3 views1 page

Installing Theano, TensorFlow, Keras

This document provides instructions for installing Theano, TensorFlow, and Keras on Mac, Windows, and Linux systems. For Mac, use pip to install the packages directly in the terminal. For Windows and Linux, first create a TensorFlow environment with conda, activate it, then install the packages with conda and pip. The document also includes an optional step to install TensorFlow on a GPU using pip.

Uploaded by

ciro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Installing Theano, TensorFlow, Keras

This document provides instructions for installing Theano, TensorFlow, and Keras on Mac, Windows, and Linux systems. For Mac, use pip to install the packages directly in the terminal. For Windows and Linux, first create a TensorFlow environment with conda, activate it, then install the packages with conda and pip. The document also includes an optional step to install TensorFlow on a GPU using pip.

Uploaded by

ciro
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

How to install Theano, TensorFlow and Keras

For Mac users:

Open your main terminal or the Anaconda Prompt and enter the following commands:

pip install theano


pip install tensorflow
pip install keras
conda update --all

For Windows and Linux users:

In Spyder, go to Tools and Open Anaconda Prompt. Then enter the following commands:

1. Create a new environment with Anaconda and Python 3.5:

conda create -n tensorflow python=3.5 anaconda

2. Activate the environment:

activate tensorflow

3. After this you can install Theano, TensorFlow and Keras:

conda install theano

conda install mingw libpython

pip install tensorflow

pip install keras

4. Update the packages:

conda update --all

5. Run Spyder:

spyder

To install TensorFlow on your GPU (optional):

pip install tensorflow-gpu

You might also like