>>> import tensorflow
e:\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
解决方案
pip install h5py==2.8.0rc1
更新h5py
没有错误了
本站文章如无特殊说明,均为本站原创,如若转载,请注明出处:import tensorflow 报错 - Python技术站