semi-auto-image-annotation-tool
semi-auto-image-annotation-tool copied to clipboard
Installation fails with error due to h5py dependency
I am unable to install the package.
steps:
- git clone
- pip3 install tensorflow
- pip3 install -r requirements.txt
Enviroment:
- Python 3.8.5
- pip 20.0.2
error:
collecting h5py==2.8.0rc1
Using cached h5py-2.8.0rc1.tar.gz (263 kB)
Collecting keras-retinanet==0.3.1
Using cached keras_retinanet-0.3.1-py2.py3-none-any.whl (81 kB)
Requirement already satisfied: numpy>=1.7 in /home/vlad/.local/lib/python3.8/site-packages (from h5py==2.8.0rc1->-r requirements.txt (line 1)) (1.19.5)
Requirement already satisfied: six in /home/vlad/.local/lib/python3.8/site-packages (from h5py==2.8.0rc1->-r requirements.txt (line 1)) (1.15.0)
Collecting keras
Using cached Keras-2.4.3-py2.py3-none-any.whl (36 kB)
Processing /home/vlad/.cache/pip/wheels/be/90/98/9d455f04a7ca277366b36c660c89d171ff5abb7bdd8a8b8e75/keras_resnet-0.2.0-py2.py3-none-any.whl
Requirement already satisfied: scipy in /home/vlad/.local/lib/python3.8/site-packages (from keras-retinanet==0.3.1->-r requirements.txt (line 2)) (1.6.3)
Requirement already satisfied: pyyaml in /usr/lib/python3/dist-packages (from keras->keras-retinanet==0.3.1->-r requirements.txt (line 2)) (5.3.1)
Building wheels for collected packages: h5py
Building wheel for h5py (setup.py) ... error
Running setup.py clean for h5py
Failed to build h5py
Installing collected packages: h5py, keras, keras-resnet, keras-retinanet
Attempting uninstall: h5py
Found existing installation: h5py 3.1.0
Uninstalling h5py-3.1.0:
Successfully uninstalled h5py-3.1.0
Running setup.py install for h5py ... error
Rolling back uninstall of h5py
same issue here. I am using manjaro operation system. Any updates ?