安装systemd-python报错
报错:
Cannot find libsystemd or libsystemd-journal:
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
No package 'libsystemd' found
Package libsystemd-journal was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsystemd-journal.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libsystemd-journal' found
#解决:
yum install python3-systemd
博客记录了安装systemd-python时出现的报错信息,提示找不到libsystemd或libsystemd - journal,建议将包含对应.pc文件的目录添加到PKG_CONFIG_PATH环境变量。解决方法是使用yum install python3 - systemd进行安装。
378

被折叠的 条评论
为什么被折叠?



