Changeset 720c0bd


Ignore:
Timestamp:
04/21/2022 06:23:07 AM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
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:
dd9987c
Parents:
e286d8db
Message:

python: add a <important> for pip3 usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/python.xml

    re286d8db r720c0bd  
    110110</userinput></screen>
    111111
     112    <important>
     113      <para>
     114        In LFS and BLFS, we normally build and install Python modules with
     115        <command>pip3</command>.  Please take care that the
     116        <command>pip3 install</command> commands in both the books should be
     117        run as &root; unless it's for a Python virtual environment.  Running
     118        a <command>pip3 install</command> as a non-&root; user may seems to
     119        work fine, but it will cause the installed module unaccessible by
     120        other users.
     121      </para>
     122      <para>
     123        <command>pip3 install</command> will not reinstall an already
     124        installed module by default.  For using the
     125        <command>pip3 install</command> command to upgrade a module (for
     126        example, from meson-0.61.3 to meson-0.62.0), append
     127        <parameter>-U</parameter> to the command line.  If it's really
     128        necessary to downgrade a module or reinstall the same version for
     129        some reason, append <parameter>--force-reinstall</parameter> to
     130        the command line.
     131      </para>
     132    </important>
    112133
    113134    <para>If desired, install the preformatted documentation:</para>
Note: See TracChangeset for help on using the changeset viewer.