一、问题:
输入安装包
pip install sklearn -i https://pypi.tuna.tsinghua.edu.cn/simple/
遇见爆出错误
The 'sklearn' PyPI package is deprecated, use 'scikit-learn' rather than 'sklearn' far pip commands.
二、解决方法:
输入代码调整成如下即可
pip install scikit-learn -i https://pypi.tuna.tsinghua.edu.cn/simple/
三、整体操作如图: