#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 Bruce Dubbs, 20 months ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:2 by Bruce Dubbs, 20 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.