Ancalagon BerenLuthien
Ancalagon BerenLuthien

Reputation: 1194

Cannot install Keras on Pycharm on Macbook

Macbook.

I can perform "pip install Keras==1.0.8" successfully on terminal though.

Problem: Installing Keras to Pycharm, cannot make it.

Error as shown by screenshots below: enter image description here

enter image description here

Upvotes: 0

Views: 800

Answers (1)

S.Mohsen sh
S.Mohsen sh

Reputation: 2116

There are some non-python dependencies for Keras, so pip won't install them and fails if they are not found. The error here is related to fortran compiler and can be resolved by installing for example gfortran. But there would be probably other packages that you miss.

I recommend taking steps in installation guide of theano on OS X because for now keras depends on theano. If you take the steps to have a working installation of theano there shouldn't be any problem installing Keras with pip.

Upvotes: 1

Related Questions