Changeset 8c2cfcf


Ignore:
Timestamp:
04/21/2022 06:42:25 AM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/soup3, xry111/xf86-video-removal
Children:
f27bcc6
Parents:
4d95033
Message:

python-modules: add <important> for pip3 usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python-modules.xml

    r4d95033 r8c2cfcf  
    2828    </para>
    2929
     30    <important>
     31      <para>
     32        In BLFS, we normally build and install Python 3 modules with
     33        <command>pip3</command>.  Please take care that the
     34        <command>pip3 install</command> commands in the book should be
     35        run as &root; unless it's for a Python virtual environment.  Running
     36        a <command>pip3 install</command> as a non-&root; user may seems to
     37        work fine, but it will cause the installed module unaccessible by
     38        other users.
     39      </para>
     40      <para>
     41        <command>pip3 install</command> will not reinstall an already
     42        installed module by default.  For using the
     43        <command>pip3 install</command> command to upgrade a module (for
     44        example, from meson-0.61.3 to meson-0.62.0), append
     45        <parameter>-U</parameter> to the command line.  If it's really
     46        necessary to downgrade a module or reinstall the same version for
     47        some reason, append <parameter>--force-reinstall</parameter> to
     48        the command line.
     49      </para>
     50    </important>
     51
    3052    <itemizedlist spacing="compact">
    3153      <listitem>
Note: See TracChangeset for help on using the changeset viewer.