[英]can't install python lxml
When I install lxml with pip install lxml
I get:当我使用
pip install lxml
我得到:
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
I am using Ubuntu 14.04.6 LTS, python 2.7.6 How to find the -lz library?我使用的是 Ubuntu 14.04.6 LTS,python 2.7.6 如何找到 -lz 库?
我已经解决了安装 libz-dev 库的问题,-lz 是 libz-dev。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.