Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Theano on Ubuntu 14.04
sudo apt-get install build-essential
sudo apt-get update
# BLAS → LAPACK → ATLAS → numpy → scipy → Theano
# remove numpy and scipy
sudo apt-get remove python-numpy
sudo apt-get remove python-scipy
# Instalation commands
sudo apt-get install gfortran
sudo apt-get install libopenblas-dev
sudo apt-get install liblapack-dev
sudo apt-get install libatlas-base-dev
# Numpy
sudo pip install numpy
# Scipy
sudo pip install scipy
# Theano dep
sudo apt-get install python-dev
sudo apt-get install python-pip
sudo apt-get install python-nose
sudo apt-get install g++
sudo apt-get install git
# Thano
sudo pip install Theano
@Reddine

This comment has been minimized.

Copy link
Owner Author

Reddine commented Oct 21, 2015

jsai s ai tool introduction - deep learning pylearn2 and torch7 2015-10-21 22-02-31

@joecheng511

This comment has been minimized.

Copy link

joecheng511 commented May 23, 2016

That terrific!

@rahulm13

This comment has been minimized.

Copy link

rahulm13 commented Aug 22, 2017

Use small 't' in last command

@jvdsidq

This comment has been minimized.

Copy link

jvdsidq commented Sep 4, 2017

You did a great job. Hassle free installation. I have installed it on Jetson TK1 Embedded Board. Can I use theano to access GPU?

@jvdsidq

This comment has been minimized.

Copy link

jvdsidq commented Sep 6, 2017

How can I install Keras after installing theano? I tried to install keras but after complitation when I am trying to import keras it shows me error: No module name tensorflow.
I also changed the default backend from tensorflow to theano but still I am facing the same problem. Could you people please help me to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.