Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
naku
V2EX  ›  Linux

求助, centos7 安装 lxml 一直这样子

  •  
  •   naku · Jun 16, 2019 · 3949 views
    This topic created in 2537 days ago, the information mentioned may be changed or developed.

    [root@localhost ~]# pip3 install lxml -i https://pypi.tuna.tsinghua.edu.cn/simpl e Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting lxml Downloading https://pypi.tuna.tsinghua.edu.cn/packages/da/b5/d3e0d22649c63e92c b0902847da9ae155c1e801178ab5d272308f35f726e/lxml-4.3.4.tar.gz (2.5MB) 100% |████████████████████████████████| 2.5MB 33kB/s Installing collected packages: lxml Running setup.py install for lxml ... -

    6 replies    2019-07-02 17:31:40 +08:00
    MuscleOf2016
        1
    MuscleOf2016  
       Jun 16, 2019
    ??下载到最后卡着?下载地址都有了,不行电脑下载传到服务器上手动安装下
    Jirajine
        2
    Jirajine  
       Jun 16, 2019 via Android
    楼上真是韩宗,Running setup.py install for lxml ... -
    显然是安装脚本编译或者干啥的时候卡住了,还没输出信息。用调试器调试一下吧。
    qcts33
        3
    qcts33  
       Jun 16, 2019
    lxml 安装需要编译,会不会是没有安装编译依赖
    Levox
        4
    Levox  
       Jun 16, 2019
    lxml 编译很耗内存的
    nullboy
        5
    nullboy  
       Jun 17, 2019
    基本上每次装 lxml 这玩意都会遇到问题
    matrix273
        6
    matrix273  
       Jul 2, 2019 via Android
    推荐用 anaconda 自带 lxml,另外 lxml 部分版本可以用 wheel 格式安装,不用编译。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4134 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 59ms · UTC 10:11 · PVG 18:11 · LAX 03:11 · JFK 06:11
    ♥ Do have faith in what you're doing.