Bonjour à tous j'essaye d'installer h5py

http://docs.h5py.org/en/latest/build...on-recommended

Je fais l'installation sur raspbian qui est un derivé de linux pour raspberry pi trés proche de ubuntu.

Je fais l'installation dans un environement virtuel et l'installation se fait avec la méthode pip

Voila l'erreur que je recontre :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 In file included from /home/pi/.virtualenvs/cv/local/lib/python3.5/site-packages/numpy/core/include/numpy/nd                                                                                       arraytypes.h:1809:0,
                   from /home/pi/.virtualenvs/cv/local/lib/python3.5/site-packages/numpy/core/include/numpy/nd                                                                                       arrayobject.h:18,
                   from /home/pi/.virtualenvs/cv/local/lib/python3.5/site-packages/numpy/core/include/numpy/ar                                                                                       rayobject.h:4,
                   from /tmp/pip-build-hxfmi4nf/h5py/h5py/api_compat.h:26,
                   from /tmp/pip-build-hxfmi4nf/h5py/h5py/defs.c:561:
  /home/pi/.virtualenvs/cv/local/lib/python3.5/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h                                                                                       :15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7                                                                                       _API_VERSION" [-Wcpp]
   #warning "Using deprecated NumPy API, disable it by " \
    ^~~~~~~
  In file included from /tmp/pip-build-hxfmi4nf/h5py/h5py/defs.c:561:0:
  /tmp/pip-build-hxfmi4nf/h5py/h5py/api_compat.h:27:18: fatal error: hdf5.h: No such file or directory
   #include "hdf5.h"
                    ^
  compilation terminated.
  error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
 
  ----------------------------------------
  Failed building wheel for h5py
  Running setup.py clean for h5py
Failed to build h5py
Installing collected packages: h5py, urllib3, certifi, chardet, idna, requests, python-utils, progressbar2
  Running setup.py install for h5py ... error

Voila plus de détails :

Photo 1 :
Nom : h5py(1).png
Affichages : 214
Taille : 96,2 Ko


photo2:

Nom : h5py(2).png
Affichages : 190
Taille : 100,4 Ko

photo3:

Nom : h5py(3).png
Affichages : 193
Taille : 101,8 Ko

photo4:

Nom : h5py(4).png
Affichages : 201
Taille : 99,6 Ko


Merci pour votre temps