title: Compiling caffe
body: <p>I'm trying to compile caffe using cmake on a Linux machine.  I get this complaint when running cmake:</p>
  
  <pre><code> Could NOT find PythonLibs (missing:  PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is at least version "2.7")
  </code></pre>
  
  <p>I later get this error</p>
  
  <pre><code>CMake Error at CMakeLists.txt:85 (add_dependencies):
    The dependency target "pycaffe" of target "pytest" does not exist.
  </code></pre>
  
  <p>What am I doing wrong?  I tried setting an environment variable for PYTHON_LIBRARIES but that didn't help.  I'm using my locally installed version of python (2.7.13), so I think that might be causing the problem, but I don't know how to get past this.</p>