I followed the instructions for pystemd but am getting the following errors. It’s in a virtual environment (wc) if that matters. Looking for advice.
(wc) pi@wethCAM:/media/work/bw $ python -m pip install pystemd
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pystemd
Using cached pystemd-0.13.2.tar.gz (308 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
Package libsystemd was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsystemd.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libsystemd', required by 'virtual:world', not found
`pkg-config --modversion libsystemd` failed. Please ensure all prerequisite packages from README.md are installed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
(wc) pi@wethCAM:/media/work/bw $