执行import"从sklearn.cluster导入KMeans"在蜘蛛中,我收到下面提到的错误: importError:DLL加载失败:系统资源不足,无法完成所请求的服务。
如何解决这个问题?
答案 0 :(得分:0)
尝试重新安装:
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