个人博客地址:https://www.bearoom.xyz/2019/08/24/python-devolop-env-hdf5-problem/
安装tensorflow之后,在导入tensorflow的包的时候遇到这个问题:
anaconda3/lib/python3.6/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</code></pre>
应该是hdf5的版本问题,解决方法:
pip install h5py==2.8.0rc1
只有天在上,
更无山与齐。
举头红日近,
回首白云低。
--寇准 《咏华山》