Title: Cannot install on Ubuntu 18.04 from docs · Issue #97 · systemd/python-systemd · GitHub
Open Graph Title: Cannot install on Ubuntu 18.04 from docs · Issue #97 · systemd/python-systemd
X Title: Cannot install on Ubuntu 18.04 from docs · Issue #97 · systemd/python-systemd
Description: (virtualenv) root@oc1736-ourcompose-com--2021-07-11-01-56:~# /usr/local/lib/docker/virtualenv/bin/pip3 install -U --force-reinstall -v git+https://github.com/systemd/python-systemd.git#egg=systemd Using pip 21.1.3 from /usr/local/lib/doc...
Open Graph Description: (virtualenv) root@oc1736-ourcompose-com--2021-07-11-01-56:~# /usr/local/lib/docker/virtualenv/bin/pip3 install -U --force-reinstall -v git+https://github.com/systemd/python-systemd.git#egg=systemd ...
X Description: (virtualenv) root@oc1736-ourcompose-com--2021-07-11-01-56:~# /usr/local/lib/docker/virtualenv/bin/pip3 install -U --force-reinstall -v git+https://github.com/systemd/python-systemd.git#egg=systemd ...
Opengraph URL: https://github.com/systemd/python-systemd/issues/97
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot install on Ubuntu 18.04 from docs","articleBody":"```\r\n(virtualenv) root@oc1736-ourcompose-com--2021-07-11-01-56:~# /usr/local/lib/docker/virtualenv/bin/pip3 install -U --force-reinstall -v git+https://github.com/systemd/python-systemd.git#egg=systemd \r\nUsing pip 21.1.3 from /usr/local/lib/docker/virtualenv/lib/python3.6/site-packages/pip (python 3.6) \r\nNon-user install because user site-packages disabled \r\nCreated temporary directory: /tmp/pip-ephem-wheel-cache-yu65o3nt \r\nCreated temporary directory: /tmp/pip-req-tracker-9jlex1xo \r\nInitialized build tracking at /tmp/pip-req-tracker-9jlex1xo \r\nCreated build tracker: /tmp/pip-req-tracker-9jlex1xo \r\nEntered build tracker: /tmp/pip-req-tracker-9jlex1xo \r\nCreated temporary directory: /tmp/pip-install-7pthecm8 \r\nCollecting systemd \r\n Cloning https://github.com/systemd/python-systemd.git to /tmp/pip-install-7pthecm8/systemd_b0aedc0644d74827b2cf4de913ce99e3 \r\n Running command git clone -q https://github.com/systemd/python-systemd.git /tmp/pip-install-7pthecm8/systemd_b0aedc0644d74827b2cf4de913ce99e3 \r\n Added systemd from git+https://github.com/systemd/python-systemd.git#egg=systemd to build tracker '/tmp/pip-req-tracker-9jlex1xo' \r\n Running setup.py (path:/tmp/pip-install-7pthecm8/systemd_b0aedc0644d74827b2cf4de913ce99e3/setup.py) egg_info for package systemd \r\n Created temporary directory: /tmp/pip-pip-egg-info-3m8k8600 \r\n Running command python setup.py egg_info \r\n running egg_info \r\n creating /tmp/pip-pip-egg-info-3m8k8600/systemd_python.egg-info \r\n writing /tmp/pip-pip-egg-info-3m8k8600/systemd_python.egg-info/PKG-INFO \r\n writing dependency_links to /tmp/pip-pip-egg-info-3m8k8600/systemd_python.egg-info/dependency_links.txt \r\n writing top-level names to /tmp/pip-pip-egg-info-3m8k8600/systemd_python.egg-info/top_level.txt \r\n writing manifest file '/tmp/pip-pip-egg-info-3m8k8600/systemd_python.egg-info/SOURCES.txt' \r\n package init file 'systemd/test/__init__.py' not found (or not a regular file) \r\n reading manifest file '/tmp/pip-pip-egg-info-3m8k8600/systemd_python.egg-info/SOURCES.txt' \r\n reading manifest template 'MANIFEST.in' \r\n warning: no previously-included files found matching 'docs/__pycache__/*' \r\n adding license file 'LICENSE.txt' \r\n writing manifest file '/tmp/pip-pip-egg-info-3m8k8600/systemd_python.egg-info/SOURCES.txt' \r\n WARNING: Generating metadata for package systemd produced metadata for project name systemd-python. Fix your #egg=systemd fragments. \r\n Source in /tmp/pip-install-7pthecm8/systemd_b0aedc0644d74827b2cf4de913ce99e3 has version 235, which satisfies requirement systemd-python from git+https://github.com/systemd/python-systemd.git#egg=systemd \r\n Removed systemd-python from git+https://github.com/systemd/python-systemd.git#egg=systemd from build tracker '/tmp/pip-req-tracker-9jlex1xo' \r\nWARNING: Discarding git+https://github.com/systemd/python-systemd.git#egg=systemd. Requested systemd-python from git+https://github.com/systemd/python-systemd.git#egg=systemd has inconsistent name: filename has 'systemd', but metadata has\r\n 'systemd-python' \r\n```\r\n\r\nWith the important line being:\r\n\r\n```\r\nWARNING: Discarding git+https://github.com/systemd/python-systemd.git#egg=systemd. Requested systemd-python from git+https://github.com/systemd/python-systemd.git#egg=systemd has inconsistent name: filename has 'systemd', but metadata has\r\n 'systemd-python' \r\n```\r\n\r\nSo I changed the command to:\r\n\r\n```\r\n/usr/local/lib/docker/virtualenv/bin/pip3 install -U --force-reinstall -v git+https://github.com/systemd/python-systemd.git#egg=systemd-python\r\n```\r\n\r\nwhich worked. I'm assuming that it's just a documentation issue?","author":{"url":"https://github.com/smacz42","@type":"Person","name":"smacz42"},"datePublished":"2021-07-11T03:03:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/97/python-systemd/issues/97"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dfc3d290-56dd-9ec5-ec84-7296fd67d38a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8BC2:244C0:3B0F3D1:52124D4:6A4F4B99 |
| html-safe-nonce | 9aa3adcec54838a5f954b55b4e6063fe07234fa1bae77e32262ff7548aa4e30a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkMyOjI0NEMwOjNCMEYzRDE6NTIxMjRENDo2QTRGNEI5OSIsInZpc2l0b3JfaWQiOiI4NjU2NTMzOTQ1ODEzMjU3MTEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a8f03c9e52c738b9bb167ee0d83bd5c62c45385adb164e261a6876bfa26f6f57 |
| hovercard-subject-tag | issue:941361944 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/systemd/python-systemd/97/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d8681a3e9bc70b2b0293d7005a09edc0c5beae5c1009e2fcc1b52231622097cd/systemd/python-systemd/issues/97 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d8681a3e9bc70b2b0293d7005a09edc0c5beae5c1009e2fcc1b52231622097cd/systemd/python-systemd/issues/97 |
| og:image:alt | (virtualenv) root@oc1736-ourcompose-com--2021-07-11-01-56:~# /usr/local/lib/docker/virtualenv/bin/pip3 install -U --force-reinstall -v git+https://github.com/systemd/python-systemd.git#egg=systemd ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | smacz42 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/systemd/python-systemd git https://github.com/systemd/python-systemd.git |
| octolytics-dimension-user_id | 1918868 |
| octolytics-dimension-user_login | systemd |
| octolytics-dimension-repository_id | 38590109 |
| octolytics-dimension-repository_nwo | systemd/python-systemd |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38590109 |
| octolytics-dimension-repository_network_root_nwo | systemd/python-systemd |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width