-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not install into a venv on Ubuntu 20.04 #125
Comments
I am having the same issue on Debian 12. |
It works for me on Debian 12, with "pkg-config", "libsystemd-dev", and "python3-dev". EDIT : With Python 3.11.2 |
To reinstate it, it seems that the same fails on Ubuntu 24.04 too with py311 (deadsnakes), even if python was installed in full python3.11-full. Still the errors is a little bit different:
|
Here is an interesting discovery: # this fails to install:
pip==24.0
setuptools==68.1.2
wheel==0.42.0
# this succeeds installing:
pip==24.2
setuptools==72.1.0
systemd-python==235
wheel==0.44.0 The tricky bit is that we do not have much control over which versions of these build deps are installed by default inside a new venv, especially when using a testing framework such tox. it should be noted that these do not see too old either. |
The README.md says I can just apt install the headers. However, the only systemd header package available is libsystemd-dev. The others, like libsystemd-journal-dev and libsystemd-daemon-dev do not exist for 20.04, so I can't install them.
If I try to pip install into my venv anyway, I get a bunch of compilation errors (as I figured). They seem related to unicode. Anyway, here's the last lines showing the pip install crashing:
The text was updated successfully, but these errors were encountered: