pip install scikit-learn

C:\Users\admin>pip install scikit-learn
Collecting scikit-learn
  Downloading https://files.pythonhosted.org/packages/4b/cd/5e815a9e5e98bfd4e77dcdd87ae556247c48c1e9539b20798219aa3416c8/scikit_learn-0.20.1-cp37-cp37m-win32.whl (4.3MB)
    100% |████████████████████████████████| 4.3MB 35kB/s
Collecting scipy>=0.13.3 (from scikit-learn)
  Downloading https://files.pythonhosted.org/packages/e8/08/6ceee982af40b23566016e29a7a81ed258e739d2d718e03049446c3ccf31/scipy-1.1.0-cp37-none-win32.whl (26.1MB)
    100% |████████████████████████████████| 26.1MB 370kB/s
Collecting numpy>=1.8.2 (from scikit-learn)
  Downloading https://files.pythonhosted.org/packages/42/5a/eaf3de1cd47a5a6baca41215fba0528ee277259604a50229190abf0a6dd2/numpy-1.15.4-cp37-none-win32.whl (9.9MB)
    100% |████████████████████████████████| 9.9MB 356kB/s
Installing collected packages: numpy, scipy, scikit-learn
Successfully installed numpy-1.15.4 scikit-learn-0.20.1 scipy-1.1.0
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\admin>python -m pip install --upgrade pip
Collecting pip
  Downloading https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl (1.3MB)
    100% |████████████████████████████████| 1.3MB 537kB/s
Installing collected packages: pip
  Found existing installation: pip 10.0.1
    Uninstalling pip-10.0.1:
      Successfully uninstalled pip-10.0.1
Successfully installed pip-18.1

C:\Users\admin>
C:\Users\admin>
C:\Users\admin>

猜你喜欢

转载自blog.csdn.net/micwing/article/details/85007006