Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1
╰─> [18 lines of output] The 'sklearn' PyPI package is deprecated, use 'scikit-learn' rather than 'sklearn' for pip commands
根据报错内容尝试。更新一下upgrade sklearn的版本
pip install --upgrade sklearn
然后就能够正常安装直到出现
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied
解决方法在install后面加--user即可