[systemd-devel] systemd-python at pypi
Daniele Nicolodi
daniele at grinta.net
Wed Apr 22 02:23:45 UTC 2020
On 21/04/2020 19:35, Anders Buch wrote:
> Hello,
>
> Are there any plans to update the pypi version of python-sytemd here:
> https://pypi.org/project/systemd-python/
>
> The following results in errors on Ubuntu 18.04 with latest python3.8
> packages installed (as well as libsystemd-dev and python3-systemd):
>
> python3.8 -m venv systemd_test
> . systemd_test/bin/activate
> pip install systemd-python
>
> The error is:
>
> systemd/_journal.c:21:10: fatal error: Python.h: No such file or directory
> #include <Python.h>
This error is due to the fact that you do not have the necessary
development files to compile extensions for python3.8. I guess you need
to `apt-get install python3.8-dev`.
Cheers,
Dan
More information about the systemd-devel
mailing list