Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fails with error due to h5py dependency #24

Open
vladaman opened this issue May 25, 2021 · 1 comment
Open

Installation fails with error due to h5py dependency #24

vladaman opened this issue May 25, 2021 · 1 comment

Comments

@vladaman
Copy link

I am unable to install the package.

steps:

  1. git clone
  2. pip3 install tensorflow
  3. 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
@Himly1
Copy link

Himly1 commented Sep 10, 2022

same issue here.
I am using manjaro operation system. Any updates ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants