Changeset ee16e55 for chapter08/python.xml
- Timestamp:
- 04/18/2022 04:59:52 AM (2 years ago)
- Branches:
- 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 4b51d83b
- Parents:
- 97497444
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/python.xml
r97497444 ree16e55 94 94 95 95 <para>In serveral places we use the <command>pip3</command> command to 96 install Python 3 programs and modules for all users as root. This conflicts 97 with the Python developers recommendation to build packages in a virtual 98 environment as a regular user. To this end, a multi-line warning is 99 written when using <command>pip3</command> as the root user. If desired, 100 supress this warning by running the following command:</para> 96 install Python 3 programs and modules for all users as 97 <systemitem class='username'>root</systemitem>. This conflicts 98 with the Python developers recommendation to install packages into a 99 virtual environment or the home directory of a regular user (by running 100 <command>pip3</command> as this user). To this end, a multi-line warning 101 is written when using <command>pip3</command> as the 102 <systemitem class='username'>root</systemitem> user. The main reason 103 of this recommendation is for avoiding a conflict with the system 104 package manager (<command>dpkg</command> for example), but LFS does not 105 have a system-wide package manager so this is not a problem. If desired, 106 suppress this warning by running the following command:</para> 101 107 102 108 <screen><userinput remap="install">sed -e '/def warn_if_run_as_root/a\ return' \
Note:
See TracChangeset
for help on using the changeset viewer.