unable to install JQ via PIP
<p>I am trying to install JQ via PIP in python.</p>

<pre><code>pip install jq
</code></pre>

<p>I am getting following error.</p>

<p><strong>Failed building wheel for jq</strong></p>

<p><a href="http://i.stack.imgur.com/ywWcL.png" rel="nofollow"><img src="http://i.stack.imgur.com/ywWcL.png" alt="enter image description here"></a></p>

<p>I am facing same issue while install pyjq.</p>

<pre><code>pip install pyjq
</code></pre>

<p><strong>Failed building wheel for pyjq</strong></p>

<p><a href="http://i.stack.imgur.com/2EoxV.png" rel="nofollow"><img src="http://i.stack.imgur.com/2EoxV.png" alt="enter image description here"></a></p>

<p>Like you I had a difficult time installing jq </p>

<p>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 &amp; 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. </p>

<p>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?). </p>

<p>Then and only then did finally <code>pip install jq</code> work</p>

python python-2.7 jq