Minor rewording of pip3 recommendations

This commit is contained in:
Bruce Dubbs 2022-04-21 08:43:49 -05:00
parent 720c0bd9fb
commit dd9987c5ab

View File

@ -111,23 +111,23 @@
<important> <important>
<para> <para>
In LFS and BLFS, we normally build and install Python modules with In LFS and BLFS we normally build and install Python modules with the
<command>pip3</command>. Please take care that the <command>pip3</command> command. Please take care that the
<command>pip3 install</command> commands in both the books should be <command>pip3 install</command> commands in both the books should be
run as &root; unless it's for a Python virtual environment. Running run as ithe &root; user unless it's for a Python virtual environment.
a <command>pip3 install</command> as a non-&root; user may seems to Running a <command>pip3 install</command> as a non-&root; user may seem
work fine, but it will cause the installed module unaccessible by to work fine, but it will cause the installed module to be inaccessible
other users. by other users.
</para> </para>
<para> <para>
<command>pip3 install</command> will not reinstall an already <command>pip3 install</command> will not reinstall an already installed
installed module by default. For using the module by default. For using the <command>pip3 install</command>
<command>pip3 install</command> command to upgrade a module (for command to upgrade a module (for example, from meson-0.61.3 to
example, from meson-0.61.3 to meson-0.62.0), append meson-0.62.0), insert the option <parameter>--upgrade</parameter> into
<parameter>-U</parameter> to the command line. If it's really the command line. If it's really necessary to downgrade a module or
necessary to downgrade a module or reinstall the same version for reinstall the same version for some reason, insert
some reason, append <parameter>--force-reinstall</parameter> to <parameter>--force-reinstall</parameter> into the command line.
the command line.
</para> </para>
</important> </important>