-
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
Unable to add package with poetry #131
Comments
Can you try this : |
This python library, downloaded from pypi, will compile on the fly. To prevent this, install this library with the OS package system (apt, dnf, etc), and allow your virtual environment to interact with the system site-packages directory :
Many libraries on Linux work that way. |
installing the librairies, fixed the issue for me. |
Sorry for the late response.
This did indeed fix the issue for me. |
I get the following error when trying add this package as a dependency from pypi using
poetry add systemd-python
.The same issue occurs when trying to build a wheel
pip wheel "systemd-python (==235)"
as the command above describes.I also can't add this dependency directly via git:
I'm not familiar with details as to why this is occuring, but all I want to do is add this package as a dependency for my project, preferably with poetry. I am not sure if there are other methods of adding this as a dependency to
pyproject.toml
that would require its installation.OS:
22.04.1-Ubuntu
Python version:
Python 3.10.12
Pip version:
pip 23.2.1
Poetry version:
Version: 1.6.1
Poetry-Core Version: 1.7.0
The text was updated successfully, but these errors were encountered: