【问题标题】:Python 3.9: installing scikit-learn fails on Windows [closed]Python 3.9:在 Windows 上安装 scikit-learn 失败 [关闭]
【发布时间】:2020-12-09 08:31:51
【问题描述】:

我正在尝试安装“mlxtend”

pip install mlxtend 

通过命令提示符,但它显示了很多错误。我已经把它们都扔了,但不明白失败背后的原因。请帮我解决这个问题?

截图:

【问题讨论】:

  • 可能是 scikit-learn 包的问题。尝试通过“python -m pip install SomePackage”安装...并指定python版本如python3.7或其他
  • 你当然应该使用 CMD
  • 欢迎来到 Stack Overflow。请编辑问题以包含任何必要的源代码、数据和错误消息作为文本。考虑these reasons and guidelines

标签: python python-3.x installation pip python-3.9


【解决方案1】:

您正在尝试安装 scikit-learn,它无法在 Windows 上使用 Python 3.9 安装,因为它检测到操作系统为 AIX,因此无法构建。

问题详情:https://github.com/scikit-learn/scikit-learn/issues/18621

在成功安装新版本的库之前,您可以使用(安装候选版本):

pip install --pre -U scikit-learn 

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-08-30
    • 1970-01-01
    • 1970-01-01
    • 2014-06-05
    • 2020-04-28
    • 2015-06-28
    • 2020-03-09
    • 1970-01-01
    相关资源
    最近更新 更多