签到成功

知道了

CNDBA社区CNDBA社区

Python 安装 Wheel 包

2016-11-17 16:35 3664 1 原创 Python
作者: dave


http://www.cndba.cn/dave/article/376
http://www.cndba.cn/dave/article/376
http://www.cndba.cn/dave/article/376http://www.cndba.cn/dave/article/376


http://www.cndba.cn/dave/article/376

Python 的Wheel 扩展包可以直接使用PIP 进行安装。
http://www.cndba.cn/dave/article/376

http://www.cndba.cn/dave/article/376


http://www.cndba.cn/dave/article/376

C:/Users/Dave@www.cndba.cn>pip
Usage:
  pip <command> [options]
Commands:
  install                     Install packages.
  download                    Download packages.
  uninstall                   Uninstall packages.
  freeze                      Output installed packages in requirements format.
  list                        List installed packages.
  show                        Show information about installed packages.
  search                      Search PyPI for packages.
  wheel                       Build wheels from your requirements.
  hash                        Compute hashes of package archives.
  completion                  A helper command used for command completion
  help                        Show help for commands.
General Options:
  -h, --help                  Show help.
  --isolated                  Run pip in an isolated mode, ignoring
                              environment variables and user configuration.
  -v, --verbose               Give more output. Option is additive, and can be
                              used up to 3 times.
  -V, --version               Show version and exit.
  -q, --quiet                 Give less output.
  --log <path>                Path to a verbose appending log.
  --proxy <proxy>             Specify a proxy in the form
                              [user:passwd@]proxy.server:port.
  --retries <retries>         Maximum number of retries each connection should
                              attempt (default 5 times).
  --timeout <sec>             Set the socket timeout (default 15 seconds).
  --exists-action <action>    Default action when a path already exists:
                              (s)witch, (i)gnore, (w)ipe, (b)ackup.
  --trusted-host <hostname>   Mark this host as trusted, even though it does
                              not have valid or any HTTPS.
  --cert <path>               Path to alternate CA bundle.
  --client-cert <path>        Path to SSL client certificate, a single file
                              containing the private key and the certificate
                              in PEM format.
  --cache-dir <dir>           Store the cache data in <dir>.
  --no-cache-dir              Disable the cache.
  --disable-pip-version-check
                              Don't periodically check PyPI to determine
                              whether a new version of pip is available for
                              download. Implied with --no-index


C:/Users/Dave>pip install d:/reportlab-3.3.0-cp35-none-win_amd64.whl
Requirement already satisfied: reportlab==3.3.0 from file:///D:/reportlab-3.3.0-cp35-none-win_amd64.whl in c:/users/dave/appdata/local/programs/python/python35/lib/site-packages
Requirement already satisfied: pip>=1.4.1 in c:/users/dave/appdata/local/programs/python/python35/lib/site-packages (from reportlab==3.3.0)
Requirement already satisfied: setuptools>=2.2 in c:/users/dave/appdata/local/programs/python/python35/lib/site-packages (from reportlab==3.3.0)
Requirement already satisfied: pillow>=2.4.0 in c:/users/dave/appdata/local/programs/python/python35/lib/site-packages (from reportlab==3.3.0)


http://www.cndba.cn/dave/article/376
http://www.cndba.cn/dave/article/376

版权声明:本文为博主原创文章,未经博主允许不得转载。

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
dave

dave

关注

人的一生应该是这样度过的:当他回首往事的时候,他不会因为虚度年华而悔恨,也不会因为碌碌无为而羞耻;这样,在临死的时候,他就能够说:“我的整个生命和全部精力,都已经献给世界上最壮丽的事业....."

  • 2261
    原创
  • 3
    翻译
  • 578
    转载
  • 191
    评论
  • 访问:7966129次
  • 积分:4346
  • 等级:核心会员
  • 排名:第1名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ