如需要安装imblearn时,输入:
pip install --user imblearn
即可
但安装过程出现以下提示:
You are using pip version 10.0.1, however version 19.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
正确做法是:
pip install --user --upgrade pip