pip install keras
使用我的默认python3.7
$ pip install keras
Requirement already satisfied: keras in c:\users\erjan222\appdata\local\programs\python\python37-32\lib\site-packages (2.2.4)
Requirement already satisfied: keras-applications>=1.0.6 in c:\users\erjan222\appdata\local\programs\python\python37-32\lib\site-packages (from keras) (1.0.6)
Requirement already satisfied: pyyaml in c:\users\erjan222\appdata\local\programs\python\python37-32\lib\site-packages (from keras) (3.13)
Requirement already satisfied: keras-preprocessing>=1.0.5 in c:\users\erjan222\appdata\local\programs\python\python37-32\lib\site-packages (from keras) (1.0.5)
Requirement already satisfied: numpy>=1.9.1 in c:\users\erjan222\appdata\local\programs\python\python37-32\lib\site-packages (from keras) (1.15.2)
Requirement already satisfied: six>=1.9.0 in c:\users\erjan222\appdata\local\programs\python\python37-32\lib\site-packages (from keras) (1.11.0)
Requirement already satisfied: scipy>=0.14 in c:\users\erjan222\appdata\local\programs\python\python37-32\lib\site-packages (from keras) (1.1.0)
Requirement already satisfied: h5py in c:\users\erjan222\appdata\local\programs\python\python37-32\lib\site-packages (from keras) (2.8.0)
但是我有python2.7并在那里需要keras