I am trying to work on neural networks in Python using the following Keras packages:
from keras.utils import np_utils
from keras.layers.core import Dense, Activation, Dropout
from keras.models import Sequential
from keras.layers.core import Dense, Dropout, Activation, Flatten
from keras.layers.convolutional import Convolution2D, MaxPooling2D
from keras.optimizers import SGD
But, I am getting the following error:
15 import theano
---> 16 from theano import gof
17 from theano.compat.python2x import partial
18 import theano.compile.mode
ImportError: cannot import name gof
Installing installed conda install keras
. Later I tried to use pip install Theano
, but it did not work. I Tried to install using pip install git
, but I am getting this error: cannot find command git.
So I installed Git and I set the environment variables.
So, is there any procedure to install these packages?
conda install mingw libpython
. – Eisenhower