René's URL Explorer Experiment


Title: libsystemd-dev needed also for installation via pip · Issue #138 · systemd/python-systemd · GitHub

Open Graph Title: libsystemd-dev needed also for installation via pip · Issue #138 · systemd/python-systemd

X Title: libsystemd-dev needed also for installation via pip · Issue #138 · systemd/python-systemd

Description: Installing this package with: pip install systemd-python On a Debian oldstable (Bullseye), I got an error message very similar to the ones reported in #47 and #97: pip install systemd-python Collecting systemd-python Downloading systemd-...

Open Graph Description: Installing this package with: pip install systemd-python On a Debian oldstable (Bullseye), I got an error message very similar to the ones reported in #47 and #97: pip install systemd-python Collec...

X Description: Installing this package with: pip install systemd-python On a Debian oldstable (Bullseye), I got an error message very similar to the ones reported in #47 and #97: pip install systemd-python Collec...

Opengraph URL: https://github.com/systemd/python-systemd/issues/138

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"libsystemd-dev needed also for installation via pip","articleBody":"Installing this package with:\r\n\r\n`pip install systemd-python`\r\n\r\nOn a Debian oldstable (Bullseye), I got an error message very similar to the ones reported in #47 and #97:\r\n\r\n```\r\npip install systemd-python\r\nCollecting systemd-python\r\n  Downloading systemd-python-235.tar.gz (61 kB)\r\n     |████████████████████████████████| 61 kB 83 kB/s\r\n    ERROR: Command errored out with exit status 1:\r\n     command: /opt/measurement_system-venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/tmp/pip-install-3lp1v0wl/systemd-python_605170e387494e1a9bdc2c7ba6ddef4a/setup.py'\"'\"'; __file__='\"'\"'/tmp/pip-install-3lp1v0wl/systemd-python_605170e387494e1a9bdc2c7ba6ddef4a/setup.py'\"'\"';f=getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__);code=f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' egg_info --egg-base /tmp/pip-pip-egg-info-zqy_tu5b\r\n         cwd: /tmp/pip-install-3lp1v0wl/systemd-python_605170e387494e1a9bdc2c7ba6ddef4a/\r\n    Complete output (12 lines):\r\n    Cannot find libsystemd or libsystemd-journal:\r\n\r\n    Package libsystemd was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libsystemd.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libsystemd' found\r\n\r\n    Package libsystemd-journal was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libsystemd-journal.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libsystemd-journal' found\r\n\r\n    ----------------------------------------\r\nWARNING: Discarding https://files.pythonhosted.org/packages/10/9e/ab4458e00367223bda2dd7ccf0849a72235ee3e29b36dce732685d9b7ad9/systemd-python-235.tar.gz#sha256=4e57f39797fd5d9e2d22b8806a252d7c0106c936039d1e71c8c6b8008e695c0a (from https://pypi.org/simple/systemd-python/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.\r\n  Downloading systemd-python-234.tar.gz (53 kB)\r\n     |████████████████████████████████| 53 kB 496 kB/s\r\n    ERROR: Command errored out with exit status 1:\r\n     command: /opt/measurement_system-venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/tmp/pip-install-3lp1v0wl/systemd-python_fce97db8c3184d04b9266626a33ab67b/setup.py'\"'\"'; __file__='\"'\"'/tmp/pip-install-3lp1v0wl/systemd-python_fce97db8c3184d04b9266626a33ab67b/setup.py'\"'\"';f=getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__);code=f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' egg_info --egg-base /tmp/pip-pip-egg-info-2hsisnk0\r\n         cwd: /tmp/pip-install-3lp1v0wl/systemd-python_fce97db8c3184d04b9266626a33ab67b/\r\n    Complete output (12 lines):\r\n    Cannot find libsystemd or libsystemd-journal:\r\n\r\n    Package libsystemd was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libsystemd.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libsystemd' found\r\n\r\n    Package libsystemd-journal was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libsystemd-journal.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libsystemd-journal' found\r\n\r\n    ----------------------------------------\r\nWARNING: Discarding https://files.pythonhosted.org/packages/e8/a8/00ba0f605837a8f69523e6c3a4fb14675a6430c163f836540129c50b3aef/systemd-python-234.tar.gz#sha256=fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895db83e7 (from https://pypi.org/simple/systemd-python/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.\r\n  Downloading systemd-python-233.tar.gz (49 kB)\r\n     |████████████████████████████████| 49 kB 1.6 MB/s\r\n    ERROR: Command errored out with exit status 1:\r\n     command: /opt/measurement_system-venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/tmp/pip-install-3lp1v0wl/systemd-python_bb46b5166fe1470496a4586b7b1b3884/setup.py'\"'\"'; __file__='\"'\"'/tmp/pip-install-3lp1v0wl/systemd-python_bb46b5166fe1470496a4586b7b1b3884/setup.py'\"'\"';f=getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__);code=f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' egg_info --egg-base /tmp/pip-pip-egg-info-95vgxi6u\r\n         cwd: /tmp/pip-install-3lp1v0wl/systemd-python_bb46b5166fe1470496a4586b7b1b3884/\r\n    Complete output (12 lines):\r\n    Cannot find libsystemd or libsystemd-journal:\r\n\r\n    Package libsystemd was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libsystemd.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libsystemd' found\r\n\r\n    Package libsystemd-journal was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libsystemd-journal.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libsystemd-journal' found\r\n\r\n    ----------------------------------------\r\nWARNING: Discarding https://files.pythonhosted.org/packages/10/89/d66ae73bdbc2614e4f2e90ddf9ef80d22c28f3cd70071345c3640465c14c/systemd-python-233.tar.gz#sha256=06a3768b744884565d7961b44f4a51d164765bc59692f0f85ea6f11330a17da4 (from https://pypi.org/simple/systemd-python/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.\r\n  Downloading systemd-python-232.tar.gz (49 kB)\r\n     |████████████████████████████████| 49 kB 1.4 MB/s\r\n    ERROR: Command errored out with exit status 1:\r\n     command: /opt/measurement_system-venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/tmp/pip-install-3lp1v0wl/systemd-python_f10a8673949f4842a0bb53f7ea5fe779/setup.py'\"'\"'; __file__='\"'\"'/tmp/pip-install-3lp1v0wl/systemd-python_f10a8673949f4842a0bb53f7ea5fe779/setup.py'\"'\"';f=getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__);code=f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' egg_info --egg-base /tmp/pip-pip-egg-info-oql0295y\r\n         cwd: /tmp/pip-install-3lp1v0wl/systemd-python_f10a8673949f4842a0bb53f7ea5fe779/\r\n    Complete output (12 lines):\r\n    Cannot find libsystemd or libsystemd-journal:\r\n\r\n    Package libsystemd was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libsystemd.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libsystemd' found\r\n\r\n    Package libsystemd-journal was not found in the pkg-config search path.\r\n    Perhaps you should add the directory containing `libsystemd-journal.pc'\r\n    to the PKG_CONFIG_PATH environment variable\r\n    No package 'libsystemd-journal' found\r\n\r\n    ----------------------------------------\r\nWARNING: Discarding https://files.pythonhosted.org/packages/87/a3/e73a8373d40b05a75bb34fdccae606ab4dc0c0743535289904f15eb624f5/systemd-python-232.tar.gz#sha256=e5d0fdbdf50e7d67c77e08bc7986ef41d98aef222896bc033c27477893c3d4ba (from https://pypi.org/simple/systemd-python/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.\r\nERROR: Could not find a version that satisfies the requirement systemd-python\r\nERROR: No matching distribution found for systemd-python\r\n```\r\n\r\nInstalling libsystemd-dev with `apt install libsystemd-dev` allowed me to install the package.\r\n\r\nI would mention this also in the \"Installation\" section of the Readme (that is the section I read when I tried to install via pip...) and not only in the \"To build from source\" one.\r\n\r\n\r\n","author":{"url":"https://github.com/ilario","@type":"Person","name":"ilario"},"datePublished":"2024-12-17T11:10:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/138/python-systemd/issues/138"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:279c6c9d-1d82-d893-a828-8eb9d9123ee9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA374:7E3D2:1C3C6BE:26C32A8:6A4F3B28
html-safe-nonce2bcc6ff07fc85befc6a945613dcf9ee0251feb3888dd70aeb29ed894375ce0a8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzc0OjdFM0QyOjFDM0M2QkU6MjZDMzJBODo2QTRGM0IyOCIsInZpc2l0b3JfaWQiOiI0MDIyODYxMDQ0OTA0ODM1ODgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca35721a12f4a50c64c757095528295c3c494b56776b982ffe0f3706ea7736ae4
hovercard-subject-tagissue:2744639519
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/systemd/python-systemd/138/issue_layout
twitter:imagehttps://opengraph.githubassets.com/543c7101f48eef0faabaa2fb0c5e78006231ae8802d8888120686355b3061824/systemd/python-systemd/issues/138
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/543c7101f48eef0faabaa2fb0c5e78006231ae8802d8888120686355b3061824/systemd/python-systemd/issues/138
og:image:altInstalling this package with: pip install systemd-python On a Debian oldstable (Bullseye), I got an error message very similar to the ones reported in #47 and #97: pip install systemd-python Collec...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameilario
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
go-importgithub.com/systemd/python-systemd git https://github.com/systemd/python-systemd.git
octolytics-dimension-user_id1918868
octolytics-dimension-user_loginsystemd
octolytics-dimension-repository_id38590109
octolytics-dimension-repository_nwosystemd/python-systemd
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38590109
octolytics-dimension-repository_network_root_nwosystemd/python-systemd
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/systemd/python-systemd/issues/138#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsystemd%2Fpython-systemd%2Fissues%2F138
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsystemd%2Fpython-systemd%2Fissues%2F138
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=systemd%2Fpython-systemd
Reloadhttps://github.com/systemd/python-systemd/issues/138
Reloadhttps://github.com/systemd/python-systemd/issues/138
Reloadhttps://github.com/systemd/python-systemd/issues/138
Please reload this pagehttps://github.com/systemd/python-systemd/issues/138
systemd https://github.com/systemd
python-systemdhttps://github.com/systemd/python-systemd
Notifications https://github.com/login?return_to=%2Fsystemd%2Fpython-systemd
Fork 77 https://github.com/login?return_to=%2Fsystemd%2Fpython-systemd
Star 521 https://github.com/login?return_to=%2Fsystemd%2Fpython-systemd
Code https://github.com/systemd/python-systemd
Issues 26 https://github.com/systemd/python-systemd/issues
Pull requests 3 https://github.com/systemd/python-systemd/pulls
Actions https://github.com/systemd/python-systemd/actions
Models https://github.com/systemd/python-systemd/models
Security and quality 0 https://github.com/systemd/python-systemd/security
Insights https://github.com/systemd/python-systemd/pulse
Code https://github.com/systemd/python-systemd
Issues https://github.com/systemd/python-systemd/issues
Pull requests https://github.com/systemd/python-systemd/pulls
Actions https://github.com/systemd/python-systemd/actions
Models https://github.com/systemd/python-systemd/models
Security and quality https://github.com/systemd/python-systemd/security
Insights https://github.com/systemd/python-systemd/pulse
libsystemd-dev needed also for installation via piphttps://github.com/systemd/python-systemd/issues/138#top
https://github.com/ilario
ilariohttps://github.com/ilario
on Dec 17, 2024https://github.com/systemd/python-systemd/issues/138#issue-2744639519
#47https://github.com/systemd/python-systemd/issues/47
#97https://github.com/systemd/python-systemd/issues/97
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.