简体   繁体   English

spider:importError:DLL加载失败:系统资源不足,无法完成请求的服务

[英]spider : importError: DLL load failed: Insufficient system resources exist to complete the requested service

while performing import "from sklearn.cluster import KMeans" in spider ,i am getting the error mentioned below: importError: DLL load failed: Insufficient system resources exist to complete the requested service. 在Spider中执行“从sklearn.cluster导入KMeans导入”时,出现以下错误:importError:DLL加载失败:系统资源不足,无法完成请求的服务。

How to solve this issue? 如何解决这个问题?

Try reinstall: 尝试重新安装:

pip uninstall sklearn

Then delete manually old the folders of sklearn from all installations of Python

(Anaconda : /anaconda/lib/python2.7/site-packages and /Library/Python/2.7)

pip install -U scikit-learn

Reference . 参考

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM