ModuleNotFoundError: No module named 'sklearn.svm.classes'
时间: 2023-10-19 15:33:27 浏览: 191
深度学习笔记
ModuleNotFoundError: No module named 'sklearn.svm.classes' 是一个在运行项目时出现的错误。根据引用的分析,这个错误可能是因为缺少了scikit-learn这个库。需要特别说明的是,尽管错误提示写的是'sklearn',但实际上我们需要安装的是scikit-learn。因为scikit-learn的别名为sklearn,所以我们需要安装的是scikit-learn而不是sklearn。因此,解决这个错误的方法就是安装scikit-learn库。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [ModuleNotFoundError: No module named ‘sklearn‘解决方案](https://blog.csdn.net/weixin_43178406/article/details/130502547)[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_1"}}] [.reference_item style="max-width: 50%"]
- *2* [pickle.load报错 ModuleNotFoundError: No module named ‘sklearn.svm.classes](https://blog.csdn.net/qq_34685294/article/details/123759874)[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_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文