Error deploying python "ephem" module

Hey, all. Brand new to Serverless, so apologies if I’m leaving out information.

I’m trying to build a python 3.6 function, and I’m using the serverless-python-requirements plugin. One of the lines in my requirements file is “ephem>3.7”. This all installs fine with “pip install -r”. But when I run “serverless deploy”, I see:

Building wheels for collected packages: ephem
Running setup.py bdist_wheel for ephem: started
Running setup.py bdist_wheel for ephem: finished with status ‘error’

===snip===

   #include "Python.h"
            ^~~~~~~~~~
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

  ----------------------------------------

STDERR: Failed building wheel for ephem
Command “/usr/bin/python3.8 -u -c “import setuptools, tokenize;file=’/tmp/pip-build-bpsw6dcd/ephem/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record /tmp/pip-ouv9lswu-record/install-record.txt --single-version-externally-managed --compile --home=/tmp/tmp8jmp8vp1” failed with error code 1 in /tmp/pip-build-bpsw6dcd/ephem/

What’s going on here? Is there a fix or workaround?

Thanks!