AttributeError: 'h5py.h5.H5PYConfig' object has no attribute 'ros3'
时间: 2023-08-27 09:20:09 浏览: 284
引用中提到,出现AttributeError: 'h5py.h5.H5PYConfig' object has no attribute 'ros3'的错误是由于h5py与cython的版本不兼容造成的。在安装tensorflow时可能会遇到这个问题。解决方法是将h5py的版本降级到2.8.0版本。具体操作是执行以下命令:
pip uninstall h5py
pip install h5py==2.8.0
这样就可以解决AttributeError: 'h5py.h5.H5PYConfig' object has no attribute 'ros3'的问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [AttributeError: type object ‘h5py.h5.H5PYConfig‘ has no attribute ‘__reduce_cython__‘的解决方案](https://blog.csdn.net/a15608445683/article/details/124539012)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [AttributeError: type object ‘h5py.h5.H5PYConfig‘ has no attribute ‘__reduce_cython__‘问题解决...](https://blog.csdn.net/qq_34180396/article/details/123398151)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [AttributeError: type object ‘h5py.h5.H5PYConfig‘ has no attribute ‘__reduce_](https://blog.csdn.net/weixin_43781565/article/details/117793246)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文
相关推荐


















