在pycharm上使用tensorflow时,遇到问题UserWarning: h5py is running against HDF5 1.10.5 when it was built against 1.10.4, this may cause problems
‘{0}.{1}.{2}’.format(*version.hdf5_built_version_tuple)
这需要我们安装更高版本的hdf5
解决方案:
1.打开anaconda prompt,进入tensorflow的安装环境
2.先后输入下面的命令行即可
conda uninstall h5py
conda install h5py