zoukankan      html  css  js  c++  java
  • 【python】pip的使用

    来源:http://www.ttlsa.com/python/how-to-install-and-use-pip-ttlsa/

    pip是用来安装python相关的包的。使用参数如下:

    # pip --help
    
    Usage:   
      pip <command> [options]
    
    Commands:
      install                     安装包.
      uninstall                   卸载包.
      freeze                      按着一定格式输出已安装包列表
      list                        列出已安装包.
      show                        显示包详细信息.
      search                      搜索包,类似yum里的search.
      wheel                       Build wheels from your requirements.
      zip                         不推荐. Zip individual packages.
      unzip                       不推荐. Unzip individual packages.
      bundle                      不推荐. Create pybundles.
      help                        当前帮助.
    
    General Options:
      -h, --help                  显示帮助.
      -v, --verbose               更多的输出,最多可以使用3次
      -V, --version               现实版本信息然后退出.
      -q, --quiet                 最少的输出.
      --log-file <path>           覆盖的方式记录verbose错误日志,默认文件:/root/.pip/pip.log
      --log <path>                不覆盖记录verbose输出的日志.
      --proxy <proxy>             Specify a proxy in the form [user:passwd@]proxy.server:port.
      --timeout <sec>             连接超时时间 (默认15秒).
      --exists-action <action>    Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup.
      --cert <path>               证书.
  • 相关阅读:
    系统相关的信息模块: import sys
    Mysql 解决emoji表情处理问题
    Servlet 个人理解
    Java BufferImage 获取像素矩阵 或 数组
    SVN 出现 R6034 错误 Python导致异常
    Mycat 入门
    Mycat 入门
    Nginx 架构
    Nginx 架构 性能优化
    Nginx 架构 性能优化
  • 原文地址:https://www.cnblogs.com/dplearning/p/5050962.html
Copyright © 2011-2022 走看看