Linux Error When Installing Keras
I am getting this strange to me error when installing Keras on an Ubuntu server: Cythonizing /tmp/easy_install-qQggXs/h5py-2.5.0/h5py/utils.pyx In file included from /usr/local/lib
Solution 1:
You need to install the hdf5 package to get the headers you need.
Solution 2:
Real Error is :
"In file included from /tmp/easy_install-qQggXs/h5py-2.5.0/h5py/defs.c:287:0: /tmp/easy_install-qQggXs/h5py-2.5.0/h5py/api_compat.h:27:18: fatal error: hdf5.h: No such file or directory #include "hdf5.h" "
This error says that header file hdf5.h is missing.
Run the following command to install header file:
sudo apt-get install libhdf5-dev
Please note that to install h5py package, run following command :
sudo pip install h5py
Hope this solves your problem
Post a Comment for "Linux Error When Installing Keras"