title: CMake Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
body: <p>I'm trying to install gFootball (<a href="https://github.com/google-research/football" rel="nofollow noreferrer">https://github.com/google-research/football</a>) in a virtual environment created by pyenv but run into this error when I try <code>pip3 install gfootball</code>:</p>
  <pre><code>CMake Error at /usr/local/Cellar/cmake/3.18.4/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
        Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
        (Required is at least version &quot;3&quot;)
      Call Stack (most recent call first):
        /usr/local/Cellar/cmake/3.18.4/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
        /usr/local/Cellar/cmake/3.18.4/share/cmake/Modules/FindPythonLibs.cmake:310 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
        CMakeLists.txt:44 (find_package)
  </code></pre>
  <p>It looks like the most common solution is either specifying certain environment variables (<a href="https://stackoverflow.com/questions/44601548/cmake-could-not-find-pythonlibs/44601549">Cmake Could NOT find PythonLibs</a>) or installing python-dev with <code>sudo apt-get install -y python-dev python3-dev</code> (<a href="https://stackoverflow.com/questions/51474976/cmake-can-not-find-pythonlibs-while-building-opencv">CMake can not find PythonLibs while building OpenCV</a>). I had trouble trying to install python3-dev (I'm on a mac, I tried with homebrew but it didn't work). I don't really know how to specify the specific environment variables though, or what that even means exactly. Where would I put them? What would the steps to do so look like? I'm not familiar at all with CMake</p>
  <p>They recommend using Docker but I've never used that before, so I wanted to get it working with my pyenv virtual environments. I didn't think that would be an issue</p>
  <p>Any help or suggestions is appreciated</p>