title: pip doesn't install some packages, but installs others
body: <p>Unable to install some packages (e.g. pandas) using pip...</p>
  <p>Traceback last call error:</p>
  <blockquote>
  <p>[root@XXX ~]# pip3 install pandas Collecting pandas<br />
  Using cached
  <a href="https://files.pythonhosted.org/packages/08/01/803834bc8a4e708aedebb133095a88a4dad9f45bbaf5ad777d2bea543c7e/pandas-0.22.0.tar.gz" rel="nofollow noreferrer">https://files.pythonhosted.org/packages/08/01/803834bc8a4e708aedebb133095a88a4dad9f45bbaf5ad777d2bea543c7e/pandas-0.22.0.tar.gz</a>
  Installing build dependencies ... error [...rest of output omitted...]</p>
  </blockquote>
  <p>pip error:</p>
  <blockquote>
  <p>Command &quot;/usr/bin/python3.4 -m pip install --ignore-installed
  --no-user --prefix /tmp/pip-build-env-7ze4l_bl --no-warn-script-location --no-binary :none: --only-binary :none: -i <a href="https://pypi.org/simple" rel="nofollow noreferrer">https://pypi.org/simple</a> -- wheel setuptools Cython &quot;numpy==1.9.3;
  python_version=='3.5'&quot; &quot;numpy==1.12.1; python_version=='3.6'&quot;
  &quot;numpy==1.13.1; python_version&gt;='3.7'&quot;&quot; failed with error code 2 in
  None</p>
  </blockquote>
  <p>However, I am able to install other packages...</p>
  <blockquote>
  <p>[root@XXX ~]# pip3 install antigravity Collecting
  antigravity [omitted]] Successfully uninstalled antigravity-0.1</p>
  </blockquote>
  <p>The two errors may indicate that it is failing since it isn't installing the numpy dependency, however the trackback last call states a DistutilsOptionError.  I don't believe the pip/python versions should be an issue here.</p>
  <p>After some research, this stackoverflow answer (<a href="https://stackoverflow.com/a/44728772/4682460">https://stackoverflow.com/a/44728772/4682460</a>) states to use a local setup.cfg file, however I'm looking for a permanent fix to this (not a workaround).  Note that python3.4 was not installed via brew (I don't know how it was installed since it predates my employment).</p>
  <p>Python version:</p>
  <blockquote>
  <p>[XXX@XXX ~]$ which python3 /usr/bin/python3
  [XXX@XXX ~]$ python3 --version Python 3.4.9</p>
  </blockquote>
  <p>Pip version:</p>
  <blockquote>
  <p>[XXX@XXX ~]$ pip -V pip 18.1 from
  /usr/lib/python3.4/site-packages/pip-18.1-py3.4.egg/pip (python 3.4)</p>
  <p>[XXX@XXX ~]$ pip3 -V pip 18.1 from
  /usr/lib/python3.4/site-packages/pip-18.1-py3.4.egg/pip (python 3.4)</p>
  <p>[XXX@XXX ~]$ python3 -m pip -V pip 18.1 from
  /usr/lib/python3.4/site-packages/pip-18.1-py3.4.egg/pip (python 3.4)</p>
  </blockquote>
  <p>Note that I was hoping to just forget about pip with python3.4 and use 3.7, but pip doesn't even exist for the python3.7 install here....</p>
  <blockquote>
  <p>[XXX@XXX ~]$ /usr/local/bin/python3.7 -m pip -V
  /usr/local/bin/python3.7: No module named pip</p>
  </blockquote>