问题:在执行import tensorflow
的时候报出如下错误:
D:\Anaconda\lib\site-packages\h5py\__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from
floatto
np.floatingis deprecated. In future, it will be treated as
np.float64 == np.dtype(float).type. from ._conv import register_converters as _register_converters
从错误中可以看错是h5py包问题,初步判断是h5py包版本太低问题,于是考虑升级h5py包:
pip install --upgrade h5py