python显示找不到指定模块,DLL加载失败:找不到指定的模块[Python]

Not sure what the issue is...

...but many of the classifiers will not work on my machine now.

I just installed version 14.1 of scikit-learn. Could this be a path thing?

Traceback (most recent call last):

File "hashtag.py", line 19, in

from sklearn.linear_model import SGDClassifier

File "C:\Anaconda\lib\site-packages\scikit_learn-0.14.1-py2.7-win-amd64.egg\sk

learn\linear_model\__init__.py", line 24, in

from .logistic import LogisticRegression

File "C:\Anaconda\lib\site-packages\scikit_learn-0.14.1-py2.7-win-amd64.egg\sk

learn\linear_model\logistic.py", line 5, in

from ..svm.base import BaseLibLinear

File "C:\Anaconda\lib\site-packages\scikit_learn-0.14.1-py2.7-win-amd64.egg\sk

learn\svm\__init__.py", line 13, in

from .classes import SVC, NuSVC, SVR, NuSVR, OneClassSVM, LinearSVC

File "C:\Anaconda\lib\site-packages\scikit_learn-0.14.1-py2.7-win-amd64.egg\sk

learn\svm\classes.py", line 1, in

from .base import BaseLibLinear, BaseSVC, BaseLibSVM

File "C:\Anaconda\lib\site-packages\scikit_learn-0.14.1-py2.7-win-amd64.egg\sk

learn\svm\base.py", line 8, in

from . import libsvm, liblinear

**ImportError: DLL load failed: The specified module could not be found.**

C:\Users\Owner>

Thank you in advance with your help.

解决方案

Maybe there is a bug in the conda recipe / package. You can try to update conda and anaconda with:

conda update conda # update the updater :)

conda update anaconda

If that does not work fix the issue, you can also try:

conda remove scikit-learn

conda install scikit-learn

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值