I understand very little in programming, so please answer as simply as possible. One of the notebooks on google colab throws an error. I just want to run this demo. I am attaching a screenshot, a link and the code of error.
ERROR: tensorflow 2.5.0 has requirement h5py~=3.1.0, but you'll have h5py 2.10.0 which is incompatible.
The versions are clashing.
To fix the error, run these two commands in a cell before running other cells of the notebook:
- Install compatible TensorFlow version:
!pip install tensorflow==2.2.0
- Install compatible h5py version
!pip install h5py==2.7.0
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.