美文网首页程序员
2018-11-28 (Install Scikit-Learn

2018-11-28 (Install Scikit-Learn

作者: 麓山侠 | 来源:发表于2018-12-31 01:21 被阅读3次

Install PIP for Python


What Is PIP for Python?

PIP is a recursive acronym that stands for “PIP Installs Packages” or “Preferred Installer Program”. If you’re using Python 2.7.9 (or greater) or Python 3.4 (or greater), then PIP comes installed with Python by default.

Install get-pip.py

python get-pip.py

Upgrade PIP for Python

python -m pip install -U pip

Where is PIP

Default: Python installation's script directory

eg. C:\WPy-3670\python-3.6.7.amd64\Scripts

Add PIP into path

Ref: 2018-11-27 (Install Python Module) / Add Path

Install from PyPI

https://pypi.org/

Seach python packages

pip install "SomeProject"

pip can install from either Source Distributions (sdist) or Wheels, but if both are present

on PyPI, pip will prefer a compatible wheel.

Install NumPY


https://pypi.org/project/numpy/#files

pip install -U numpy

Install SciPY


https://pypi.org/project/scipy/#files

pip install -U scipy

Install Scikit-Learn


https://pypi.org/project/scikit-learn/#files

pip install -U scikit-learn

相关文章

网友评论

    本文标题:2018-11-28 (Install Scikit-Learn

    本文链接:https://www.haomeiwen.com/subject/ysqaqqtx.html