Open tseemann opened 9 years ago
I discovered the problem was that I needed to install Cython as well (h5py doesn't have it as a dependency).
These steps will install it fully:
% virtualenv /bio/sw/kPAL
% /bio/sw/kPAL/bin/pip install cython
% /bio/sw/kPAL/bin/pip install kPAL
% /bio/sw/kPAL/bin/kpal
usage: kpal [-h] [-v]
Success!
Thanks for the heads up @tseemann!
It always surprises me how difficult it is to really fix Python packaging. Adding Cython as a dependency for kPAL explicitely won't fix this (reliably), since there's no way of specifying an order for dependencies.
I'll give it some more thought and will add a note to the documentation.
Actually, Cython is listed as a dependency in h5py's setup.py
, but I have no idea why it isn't installed first (there also have been quite some changes there with h5py release 2.4.0).
I opened bug h5py/h5py#535
Thanks for looking into it. I'm not sure I'll ever fully understand Python packaging either!