python中安装surprise中出现error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools":

pip安装

安装之前要先进行numpy的安装

pip install numpy
pip install surprise

安装出错:

安装surprise需要Microsoft visual c++ 14.0编译,所以需要安装。

下载地址

链接:https://pan.baidu.com/s/1sDn0KJxcT2DBecR_-rH30w
提取码:9c5q

安装完后之后打开cmd 再次输入:pip install surprise 就可以了!

posted on 2020-01-07 16:57  20189223  阅读(1507)  评论(0编辑  收藏  举报

导航