在使用pip安装scikit-surprise中报错的情况,如下图:
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scikit-surprise
Failed to build scikit-surprise
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (scikit-surprise)
解决方案
只需要轻轻下载微软的C++编译工具即可成功安装!!!
只需要轻轻下载微软的C++编译工具即可成功安装!!!
只需要轻轻下载微软的C++编译工具即可成功安装!!!
Microsoft C++ Build Tools工具
资源地址 :https://visualstudio.microsoft.com/zh-hans/visual-cpp-build-tools/
- 下载好双击开始安装,点击继续
-
等待安装自动下载中…
-
然后开始安装我们所需的C++ build
接着安装surpise即可。