Lv4黄金准会员
- 积分
- 2312
果果-
果冻-
- 星星
-
- 持有ART
-
- ART积分
-
- 粉丝数量
- 注册时间
- 2021-9-17
- 最后登录
- 1970-1-1
|
请问lxml依赖一直安装不上,怎么办
其他的依赖都能安装
错误信息如下:
开始安装依赖 lxml,开始时间 2022/11/26 下午9:59:19
Collecting lxml
Using cached lxml-4.9.1.tar.gz (3.4 MB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-aa_382gu/lxml/setup.py'"'"'; __file__='"'"'/tmp/pip-install-aa_382gu/lxml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-h4junvw8
cwd: /tmp/pip-install-aa_382gu/lxml/
Complete output (3 lines):
Building lxml version 4.9.1.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
依赖安装失败,结束时间 2022/11/26 下午9:59:45,耗时 25.909 秒 |
|