Opened 3 years ago
Closed 3 years ago
#16965 closed enhancement (fixed)
Add --no-user in Python module installation instructions
Reported by: | Bruce Dubbs | Owned by: | Bruce Dubbs |
---|---|---|---|
Priority: | normal | Milestone: | 11.3 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
lfs-dev: https://lists.linuxfromscratch.org/sympa/arc/blfs-dev/2022-08/msg00100.html
I would suggest to add --no-user
to all the pip3 install
commands in the "Python Modules" chapter. This will prevent situations where a reader mistakenly runs the command as a non-root user, but the command appears to succeed, since pip has installed the package into the per-user area.
From my experience testing the Python module recipes, such mistakes are fairly frequent.
With this change, the first paragraph in the "Important" block at the beginning of the chapter won't be necessary.
Change History (2)
comment:1 by , 3 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed at commit 5ff8c3a9cb068fc0e0e5883a8d61e4051546c177