title: RuntimeError: Python version 2.7 or >= 3.4 required
body: <p>I am trying to use keras in the LXPLUS cluster for CERN users.</p>
  
  <p>For that I am using a CMSSW release that already has python installed, just missing install keras... but...</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$ python --version
  Python 2.7...
  $ pip install keras
  You are using pip version 7.1.0, however version 9.0.1 is available.
  You should consider upgrading via the 'pip install --upgrade pip' command.
  Collecting keras
  /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
    InsecurePlatformWarning
    Downloading Keras-2.0.1.tar.gz (192kB)
      100% |################################| 192kB 847kB/s 
  Collecting theano (from keras)
    Using cached Theano-0.8.2.tar.gz
  Requirement already satisfied (use --upgrade to upgrade): pyyaml in /cvmfs/cms.cern.ch/slc6_amd64_gcc493/external/py2-PyYAML/3.11/lib/python2.7/site-packages (from keras)
  Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python2.6/site-packages (from keras)
  Collecting numpy&gt;=1.7.1 (from theano-&gt;keras)
    Using cached numpy-1.12.0.zip
      Complete output from command python setup.py egg_info:
      Traceback (most recent call last):
        File "&lt;string&gt;", line 20, in &lt;module&gt;
        File "/tmp/user_number/pip-build-7YA1PY/numpy/setup.py", line 34, in &lt;module&gt;
          raise RuntimeError("Python version 2.7 or &gt;= 3.4 required.")
      RuntimeError: Python version 2.7 or &gt;= 3.4 required.
      ----------------------------------------
  Command "python setup.py egg_info" failed with error code 1 in /tmp/user_number/pip-build-7YA1PY/numpy
  $ pip --version
  pip 7.1.0 from /usr/lib/python2.6/site-packages (python 2.6)</code></pre>
  </div>
  </div>
  </p>
  
  <p>I know there are many tutorials and solutions to these errors but none has been a clear or direct solution for my case.</p>
  
  <ol>
  <li><p>PIP VERSION: How to change pip version 7.1.0 to 9.0.1? (In case it is useful for installing keras).</p></li>
  <li><p><code>InsecurePlatformWarning</code>: <a href="https://stackoverflow.com/questions/29134512/insecureplatformwarning-a-true-sslcontext-object-is-not-available-this-prevent">InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately</a> (this does not help me solve it because the problem still appears...). Can you help me with this?</p></li>
  <li><p><code>raise RuntimeError</code>: Should I apparently use a CMSSW release with python version greater than 2.7?</p></li>
  <li><p>Python location: To install keras should i run python from what location?</p></li>
  </ol>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$ which python
  /usr/bin/python
  or
  /cvmfs/cms.cern.ch/slc6_amd64_gcc493/cms/cmssw/CMSSW_X_Y_Z/external/slc6_amd64_gcc493/bin/python (with "cmsenv")</code></pre>
  </div>
  </div>
  </p>