mlxtend的安装
执行
from mlxtend.classifier import EnsembleVoteClassifier
报错,提示mlxtend模块未找到,于是安装mlxtend.
最常用的
pip install mlxtend -i https://pypi.tuna.tsinghua.edu.cn/simple
结果报错如下:
ERROR: Could not find a version that satisfies the requirement mlxtend
ERROR: No matching distribution found for mlxtend
所以先下载whl文件到本地,再安装。
下载网址 https://pypi.org/project/mlxtend/#files
保存至本地,
再用pip install+绝对路径
即可。