更新时间:2023-12-02 23:01:22
似乎有一个 issue 与 h5py 一起安装,并且必须安装在某个版本以确保与 tensorflow 兼容.这就是对我有用的技巧:
There seems to be an issue with h5py and it has to be installed in a certain version to ensure compatibility with tensorflow. This is what did the trick for me:
pip uninstall h5py
pip install h5py==2.10.0