python3.x安装lxml

标签:python

python3.x安装lxml

  1. 安装wheel,CMD运行:

    pip install wheel

  2. 在以下地址,下载对应文件,cp27(2.7)cp35(3.5) 表示Python的对应版本
    http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
    Lxml, a binding for the libxml2 and libxslt libraries.
    lxml-3.4.4-cp27-none-win32.whl
    lxml-3.4.4-cp27-none-win_amd64.whl
    lxml-3.4.4-cp34-none-win32.whl
    lxml-3.4.4-cp34-none-win_amd64.whl
    lxml-3.4.4-cp35-none-win32.whl
    lxml-3.4.4-cp35-none-win_amd64.whl
    lxml-3.5.0-cp27-none-win32.whl
    lxml-3.5.0-cp27-none-win_amd64.whl
    lxml-3.5.0-cp34-none-win32.whl
    lxml-3.5.0-cp34-none-win_amd64.whl
    lxml-3.5.0-cp35-none-win32.whl
    lxml-3.5.0-cp35-none-win_amd64.whl

  3. 进入*.whl所在的文件夹,执行命令完成安装

    #完整的文件名 例如:pip install lxml-3.5.0-cp35-none-win_amd64.whl

你可能感兴趣的:(python3.x安装lxml)