[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 ... -
1
MuscleOf2016 2019 年 6 月 16 日
??下载到最后卡着?下载地址都有了,不行电脑下载传到服务器上手动安装下
|
2
Jirajine 2019 年 6 月 16 日 via Android
楼上真是韩宗,Running setup.py install for lxml ... -
显然是安装脚本编译或者干啥的时候卡住了,还没输出信息。用调试器调试一下吧。 |
3
qcts33 2019 年 6 月 16 日
lxml 安装需要编译,会不会是没有安装编译依赖
|
4
Levox 2019 年 6 月 16 日
lxml 编译很耗内存的
|
5
nullboy 2019 年 6 月 17 日
基本上每次装 lxml 这玩意都会遇到问题
|
6
matrix273 2019 年 7 月 2 日 via Android
推荐用 anaconda 自带 lxml,另外 lxml 部分版本可以用 wheel 格式安装,不用编译。
|