Python 3.9: installing scikit-learn fails on Windows [closed]

混江龙づ霸主 提交于 2021-01-20 12:18:06

问题


I'm trying to install "mlxtend"

pip install mlxtend 

via command prompt but it shows a lot of errors. I've gone throw all of them but couldn't understand the reason behind the failure. Please help me to resolve this issue?

Screenshot:


回答1:


You are trying to install scikit-learn which fails to install with Python 3.9 on Windows because it detects the OS as AIX and as such fails to build.

The details of the issue: https://github.com/scikit-learn/scikit-learn/issues/18621

A way around before there is a new version of the library that successfully installs you can use (to install the release candidate):

pip install --pre -U scikit-learn 


来源:https://stackoverflow.com/questions/65213181/python-3-9-installing-scikit-learn-fails-on-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!