Skip to content

FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated #961

Closed
@apiszcz

Description

@apiszcz

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

aragilar commented on Dec 17, 2017

@aragilar
Member

Will be closed by #926.

arbellea

arbellea commented on Jan 18, 2018

@arbellea

Also get the same error

astrojuanlu

astrojuanlu commented on Jan 24, 2018

@astrojuanlu

To people coming here from Google: the change was introduced by NumPy 1.14

numpy/numpy#9505

bicepjai

bicepjai commented on Feb 7, 2018

@bicepjai

how to disable this warning none of the options given here worked

cancan101

cancan101 commented on Feb 16, 2018

@cancan101

Any chance to get a new release of h5py?

16 remaining items

whyboris

whyboris commented on Jun 19, 2018

@whyboris

Finally 2.8.0 is out: https://github.com/h5py/h5py/releases/tag/2.8.0
Just add h5py==2.8.0 to your requirements.txt 🎉

ahmedhamdy2121

ahmedhamdy2121 commented on Jul 12, 2018

@ahmedhamdy2121

To solve this warning for Anaconda now you can use conda install h5py==2.8.0

maulikmadhavi

maulikmadhavi commented on Jul 25, 2018

@maulikmadhavi

pip install h5py==2.8.0

KingfaLuis

KingfaLuis commented on Aug 30, 2018

@KingfaLuis

g:\ProgramData\Anaconda3\lib\site-packages\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

arfahkT

arfahkT commented on Sep 24, 2018

@arfahkT

pip install h5py==2.8.0rc1

packmanproject

packmanproject commented on Mar 8, 2019

@packmanproject

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

tacaswell commented on Mar 11, 2019

@tacaswell
Member

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.

jamessong

jamessong commented on Sep 17, 2019

@jamessong

Try installing h5py updated package using the command.
pip install h5py==2.8.0rc1

please don't mix conda with pip ... it will be a mess! In fact, why don't they disable the pip from conda?

jamessong

jamessong commented on Sep 17, 2019

@jamessong

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @cancan101@tacaswell@ahmedhamdy2121@astrojuanlu@bicepjai

        Issue actions

          FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated · Issue #961 · h5py/h5py