长不大的蜡笔小新 2023-02-06 12:31 采纳率: 0%
浏览 37

机器学习的sklearn库安装

img

python报这个问题怎么解决


Traceback (most recent call last):
  File "E:\module\learn\Python\lib\site-packages\sklearn\__check_build\__init__.py", line 48, in <module>
    from ._check_build import check_build  # noqa
ImportError: DLL load failed while importing _check_build: 找不到指定的程序。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\学习资料\编程项目\Python\机器学习\01_特征工程\01_数据集.py", line 31, in <module>
    from sklearn.datasets import load_iris
  File "E:\module\learn\Python\lib\site-packages\sklearn\__init__.py", line 81, in <module>
    from . import __check_build  # noqa: F401
  File "E:\module\learn\Python\lib\site-packages\sklearn\__check_build\__init__.py", line 50, in <module>
    raise_build_error(e)
  File "E:\module\learn\Python\lib\site-packages\sklearn\__check_build\__init__.py", line 31, in raise_build_error
    raise ImportError(
ImportError: DLL load failed while importing _check_build: 找不到指定的程序。
___________________________________________________________________________
Contents of E:\module\learn\Python\lib\site-packages\sklearn\__check_build:
_check_build.cp39-win_amd64.pyd__init__.py               __pycache__
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.

进程已结束,退出代码为 1

  • 写回答

2条回答 默认 最新

  • CSDN-Ada助手 CSDN-AI 官方账号 2023-02-06 14:03
    关注
    评论

报告相同问题?

问题事件

  • 创建了问题 2月6日

悬赏问题

  • ¥20 Html备忘录页面制作
  • ¥15 黄永刚的晶体塑性子程序中输入的材料参数里的晶体取向参数是什么形式的?
  • ¥20 数学建模来解决我这个问题
  • ¥15 计算机网络ip分片偏移量计算头部是-20还是-40呀
  • ¥15 stc15f2k60s2单片机关于流水灯,时钟,定时器,矩阵键盘等方面的综合问题
  • ¥15 YOLOv8已有一个初步的检测模型,想利用这个模型对新的图片进行自动标注,生成labellmg可以识别的数据,再手动修改。如何操作?
  • ¥30 NIRfast软件使用指导
  • ¥20 matlab仿真问题,求功率谱密度
  • ¥15 求micropython modbus-RTU 从机的代码或库?
  • ¥15 django5安装失败