I am trying to install JQ via PIP in python.
pip install jq
I am getting following error.
Failed building wheel for jq
I am facing same issue while install pyjq.
pip install pyjq
Failed building wheel for pyjq
I am trying to install JQ via PIP in python.
pip install jq
I am getting following error.
Failed building wheel for jq
I am facing same issue while install pyjq.
pip install pyjq
Failed building wheel for pyjq
On Ubuntu 18.04, I needed to apt-get install autoconf libtool
before my pip install pyjq
would complete.
It doesn't appear that jq supports Windows; it says it requires gcc & libtool, which generally means a Unix-like environment.
Like you I had a difficult time installing jq
In my attempts I had many various errors including the failed building wheel that you are getting. I assume that the problem was on my end and not that the host was temporarily down. My setup: python 2 & 3, Jupyter, brew in addition to pip. The problem was likely due to some lack of consistency in package links, brew doctor helped me identify which links were broken then brew link/unlink/overwrite.
At anyrate I was only successful after brew uninstall jq, fixing all links, then updating brew and rebooting my system (perhaps some dependency was occupied?).
Then and only then did finally pip install jq
work
I have experienced same issues as OP. Although in my case (Debian Stretch 9.5) it turned out dh-autoreconf
package was missing. After installing it, jq
build finished successfully.
© 2022 - 2024 — McMap. All rights reserved.