美文网首页简书Python
Python3 pip安装lxml

Python3 pip安装lxml

作者: leach | 来源:发表于2016-10-31 14:12 被阅读343次
    1.更新pip
    python -m pip --upgrade pip
    
    2.安装wheel
    python -m pip install wheel
    
    3.安装lxml

    下载对应版本的lxml (lxml下载地址)

    #指定lxml文件名,用pip安装
    python -m pip install lxml-3.6.4-cp35-cp35m-win_amd64.whl
    

    提示:

    Python2 使用pip

    pip install ***
    

    Python3 使用pip

    python -m pip install ***
    

    使用下面命令安装lxml,会报错“Unable to find vcvarsall.bat”,搜索的解决方法无法生效

    python -m pip install lxml
    

    相关文章

      网友评论

        本文标题:Python3 pip安装lxml

        本文链接:https://www.haomeiwen.com/subject/sgkputtx.html