gpt4 book ai didi

python - DLL加载失败: The specified module could not be found [Python]

转载 作者:行者123 更新时间:2023-11-30 23:30:50 26 4
gpt4 key购买 nike

不确定问题是什么...

...但是许多分类器现在无法在我的机器上运行。

我刚刚安装了 scikit-learn 14.1 版本。这可能是路径问题吗?

Traceback (most recent call last):
File "hashtag.py", line 19, in <module>
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 <module>
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 <module>
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 <module>
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 <module>
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 <module>
from . import libsvm, liblinear
**ImportError: DLL load failed: The specified module could not be found.**

C:\Users\Owner>

预先感谢您的帮助。

最佳答案

我修复了这个问题

pip install scipy -U

关于python - DLL加载失败: The specified module could not be found [Python],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20308451/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com