Closed
Description
python 3.5.4
h5py.version
'2.7.1'
np.version
'1.14.0rc1'
lib\h5py\__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
Activity
aragilar commentedon Dec 17, 2017
Will be closed by #926.
arbellea commentedon Jan 18, 2018
Also get the same error
astrojuanlu commentedon Jan 24, 2018
To people coming here from Google: the change was introduced by NumPy 1.14
numpy/numpy#9505
bicepjai commentedon Feb 7, 2018
how to disable this warning none of the options given here worked
cancan101 commentedon Feb 16, 2018
Any chance to get a new release of h5py?
16 remaining items
whyboris commentedon Jun 19, 2018
Finally
2.8.0
is out: https://github.com/h5py/h5py/releases/tag/2.8.0Just add
h5py==2.8.0
to yourrequirements.txt
🎉ahmedhamdy2121 commentedon Jul 12, 2018
To solve this warning for Anaconda now you can use
conda install h5py==2.8.0
maulikmadhavi commentedon Jul 25, 2018
pip install h5py==2.8.0
KingfaLuis commentedon Aug 30, 2018
g:\ProgramData\Anaconda3\lib\site-packages\h5py_init_.py:36: FutureWarning: Conversion of the second argument of issubdtype from
float
tonp.floating
is deprecated. In future, it will be treated asnp.float64 == np.dtype(float).type
.from ._conv import register_converters as _register_converters
arfahkT commentedon Sep 24, 2018
pip install h5py==2.8.0rc1
packmanproject commentedon Mar 8, 2019
at terminal, please write ( (in this case, I use ubuntu and I have installed h5py module) :
sudo pip install --upgrade h5py (if you use pyhton2)
sudo pip3 install --upgrade h5py (if you use pyhton3)
tacaswell commentedon Mar 11, 2019
I strongly recommend against doing
sudo pip ...
as it will work as you expect only sometimes and will cause problems with your system package manager.float
tonp.floating
is deprecated. In future, it will be treated asnp.float64 == np.dtype(float).type
. #1251jamessong commentedon Sep 17, 2019
please don't mix conda with pip ... it will be a mess! In fact, why don't they disable the pip from conda?
jamessong commentedon Sep 17, 2019
I am totally confused by the conda junk ...
So if I update h5py - then a lot of junk messages came up on the screen saying some other packages will be downgraded. So does that mean if I ever run conda update -all, this h5py will break?
Why in the world there is sth. called conda? Created a lot of junk messages on the internet for the lack of proper organization?