title: Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/zv/vwwhcqfs4xj_9b09bbs1c3cm0000gn/T/pip-build-TZP2Ho/pyquil/
body: <p>I'm trying to run this in Terminal:</p>
  
  <pre><code>pip install pyquil
  </code></pre>
  
  <p>But then this error comes up:</p>
  
  <pre><code>Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/zv/vwwhcqfs4xj_9b09bbs1c3cm0000gn/T/pip-build-8VPMQz/pyquil/
  </code></pre>
  
  <p>I've read through many other threads with the same problem and tried some solutions, but still no luck.</p>
  
  <p>Attempted Solutions:</p>
  
  <ol>
  <li><p>Add this to bash profile:</p>
  
  <p>export LC_ALL=en_US.UTF-8</p>
  
  <p>export LANG=en_US.UTF-8</p></li>
  <li><p>Updating pip/setuptools</p></li>
  <li><p>Using ez_setup</p></li>
  </ol>
  
  <p>I'm trying to follow this, and have the prerequisites: <a href="http://pyquil.readthedocs.io/en/latest/start.html" rel="nofollow noreferrer">http://pyquil.readthedocs.io/en/latest/start.html</a></p>
  
  <p>Any ideas?</p>