码迷,mamicode.com
首页 > 其他好文 > 详细

Pyton - 包管理Anaconda 和 PIP

时间:2019-10-13 10:38:24      阅读:119      评论:0      收藏:0      [点我收藏+]

标签:install   pip   cti   with   blank   upd   sudo   iso   tensor   

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

Mixed PIP & Conda

  1. Conda first, then PIP
  2.  conda isolate the pip,be careful with the sudopip
  3. Rebuild the conda Env if needed

  4. Save the conda andpip requirement files

Refer to

  1. Tensor

Pyton - 包管理Anaconda 和 PIP

标签:install   pip   cti   with   blank   upd   sudo   iso   tensor   

原文地址:https://www.cnblogs.com/yousoluck/p/11665019.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!