我一直在尝试使用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/
编译后,您需要安装生成依赖项。在
apt-get install autoconf automake build-essential libtool python-dev
有关更多信息,请参阅Pypi页面。。。https://pypi.python.org/pypi/jq/0.1.6
相关问题 更多 >
编程相关推荐