在ubuntulinux上安装jq的Python绑定时遇到问题

2024-05-28 21:09:44 发布

您现在位置:Python中文网/ 问答频道 /正文

我一直在尝试使用pip在ubuntu上安装jq的Python绑定。在

但是,当我运行以下命令时,它失败了。在

sudo pip install jq

这是它得到的错误消息。在

Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-EmO25q/jq/setup.py';exec(compile(getattr(tokenize, 'open', open)
(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-RBT2h7-record/install-record.txt --single-version-externally-m
anaged --compile" failed with error code 1 in /tmp/pip-build-EmO25q/jq/

Tags: installpip命令buildubuntusudoopenrecord

热门问题