成功解决AttributeError: 'str' object has no attribute 'decode' 目录解决问题问题关键解决方法5个月之前试出来的,笑疯了 目录 解决问题 AttributeError: ‘str’ object has no attribute ‘decode’ 问题关键 ’h5py‘ 版本问题 解决方法 有好多博主说用 h5py < 3.0.0 的版本,我直接试出了能够正常使用的结果: pip install h5py == 2.10.0 5个月之前试出来的,笑疯了