Pyton - 包管理Anaconda & PIP

Anaconda

  1. Common Commands
    1.  condainfo & condaupdate conda

    2. condainstall/update scikit-learn

    3. condacreate --name/-n py35 python=3.5

    4. activate/deactivate py35/base

    5. condaenv list

    6. condalist/search

    7. condalist -e > requirements.txt

    8. condainstall --yes --file requirements.txt

PYPI

  1. Common Commands
    1. pip install scikit-learn
    2. pip uninstall scikit-learn
    3. pip --version/-V
    4. pip list
    5. pip install scikit-learn-1.0-py2.py3-none-any.whl
    6. pip show --files scikit-learn
    7. pip install --upgrade/-U scikit-learn
    8. .python -m pip install scikit-learn
    9. python -m pip install --upgrade pip

Refer to

  1. Tensor
上一篇:学习vue生命周期


下一篇:Python: scikit-learn环境部署准备