AttributeError: 'NoneType' object has no attribute '_stop_serving'
时间: 2023-10-06 16:14:16 浏览: 85
在查看您提供的引用内容后,出现AttributeError: 'NoneType' object has no attribute '_stop_serving'的错误可能与graph.py文件中的一些问题相关。在optimize_graph函数中,有一个try-except语句块被注释掉了。这可能导致程序无法捕获和处理异常,从而引发AttributeError。另外,根据引用中的内容,如果fsspec的版本过低或者未安装,也可能导致该错误。您可以尝试安装或更新fsspec库来解决此问题。请参考引用中提供的安装指南。同时,您还可以查看引用中提供的GitHub问题页面,可能会有更多关于此错误的讨论和解决方案。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [bert-serving-start TypeError: ‘NoneType‘ object is not iterable window cpu环境下解决方案](https://blog.csdn.net/mimazitx/article/details/111667417)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [解决‘NoneType‘ object has no attribute ‘message_types_by_name](https://blog.csdn.net/qq_35812205/article/details/130792405)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文