Changeset a3a9213


Ignore:
Timestamp:
04/21/2022 03:24:38 PM (2 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
arm
Children:
8816fe7
Parents:
2ad6d43
git-author:
Xi Ruoyao <xry111@…> (04/21/2022 06:23:07 AM)
git-committer:
William Harrington <kb0iic@…> (04/21/2022 03:24:38 PM)
Message:

python: add a <important> for pip3 usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/python.xml

    r2ad6d43 ra3a9213  
    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.