zoukankan      html  css  js  c++  java
  • Python installation

    PIP:
    Python & OS Support

    pip works with CPython versions 2.6, 2.7, 3.2, 3.3, 3.4 and also pypy.

    pip works on Unix/Linux, OS X, and Windows.

    pip included with Python

    Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include pip by default [1], so you may have pip already.

    Install pip

    To install pip, securely download get-pip.py[2]

    Then run the following (which may require administrator access):

    python get-pip.py
    

    If setuptools is not already installed, get-pip.py will install setuptools for you. [3]

    To upgrade an existing setuptools, run pip install -U setuptools.

    Additionally, get-pip.py supports using the pip install options and the general options. Below are some examples:

    Install from local copies of pip and setuptools:

    python get-pip.py --no-index --find-links=/local/copies
    

    Install to the user site [4]:

    python get-pip.py --user
    

    Install behind a proxy:

    python get-pip.py --proxy="[user:passwd@]proxy.server:port"

    setuptools安装好后,
    (1)cd /d E:pip-7.1.2
    (2)python setup.py install
    https://pypi.python.org/pypi/pip

    xlrd

    xlrd 0.9.4

    Library for developers to extract data from Microsoft Excel (tm) spreadsheet files

    Extract data from Excel spreadsheets (.xls and .xlsx, versions 2.0 onwards) on any platform. Pure Python (2.6, 2.7, 3.2+). Strong support for Excel dates. Unicode-aware.

    (1)cd /d E:xlrd-0.9.4
    (2)python setup.py install

    E:xlrd-0.9.4>python setup.py install
    running install
    running build
    running build_py
    creating build
    creating buildlib
    creating buildlibxlrd
    copying xlrdiffh.py -> buildlibxlrd
    copying xlrdook.py -> buildlibxlrd
    copying xlrdcompdoc.py -> buildlibxlrd
    copying xlrdformatting.py -> buildlibxlrd
    copying xlrdformula.py -> buildlibxlrd
    copying xlrdinfo.py -> buildlibxlrd
    copying xlrdlicences.py -> buildlibxlrd
    copying xlrdsheet.py -> buildlibxlrd
    copying xlrd	imemachine.py -> buildlibxlrd
    copying xlrdxldate.py -> buildlibxlrd
    copying xlrdxlsx.py -> buildlibxlrd
    copying xlrd__init__.py -> buildlibxlrd

    https://pypi.python.org/pypi/xlrd




  • 相关阅读:
    Java单链表的实现
    leetcode2
    Spring容器中Bean的生命周期
    my-leetcode
    Map及HashMap原理简述
    网站搭建:服务器+域名+备案
    浅谈X-UA-Compatible&viewport
    Hexo框架搭建个人博客
    Redis安装教程
    MySQL安装教程 --- 解压版
  • 原文地址:https://www.cnblogs.com/softidea/p/4930024.html
Copyright © 2011-2022 走看看