- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | lemburg |
|---|---|
| Recipients | FFY00, christian.heimes, frenzy, hroncok, jaraco, lemburg, petr.viktorin, steve.dower |
| Date | 2021-05-05.08:16:59 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <5656a98e-71a9-943c-2c37-1af46df8a9a3@egenix.com> |
| In-reply-to | <1620201706.13.0.773966953468.issue43976@roundup.psfhosted.org> |
| Content |
|---|
On 05.05.2021 10:01, Christian Heimes wrote: > >> "as root" imply that there's no user site-packages directory at all > ^^^^^ > > Steve is talking about user site-packages, not global site-packages directory. You mean "pip install --user" as root ? That's not how you typically install Python packages as root in a Dockerfile, no, but, of course, even as root, there is the possibility to install into /root/.local/. The typical Unix way of installing non-system packages is either into /usr/local, /opt/local or similar variants, not into /usr. Python itself also defaults to /usr/local when running "make install". System provided packages normally live under /usr (or even directly under / for low level tools). As a root user, I'd assume that "pip install" also installs into a /usr/local based site-packages dir -- and that's what happens at least on Debian based OSes. But it can only happen because the distros patch the install scheme, since this would normally install into the /usr based site-packages dir for a python binary living in /usr/bin. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2021-05-05 08:16:59 | lemburg | set | recipients: + lemburg, jaraco, christian.heimes, petr.viktorin, steve.dower, hroncok, frenzy, FFY00 |
| 2021-05-05 08:16:59 | lemburg | link | issue43976 messages |
| 2021-05-05 08:16:59 | lemburg | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
