python安装imblearn(PackageNotFoundError: ''Package missing in current channels")
1、imblearn包在anaconda中是没有的,需要在命令行下自行安装,以下两个命令任选一个:
1. conda install -c glemaitre imbalanced-learn
2. pip install -U imbalanced-learn
2、PackageNotFoundError: ''Package missing in current channels"
2、有些时候安装包时会出现上面的错误,此时可以按照以下步骤进行安装
(1)寻找包:anaconda search -t conda XXX
(2)按照提示的命令查看包详情:anaconda show XXX
(3)安装包:conda install --channel https://conda.anaconda.org/XXXX