mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Tweak pip3 instructions
This commit is contained in:
parent
2fe5021cfa
commit
3094b8c742
@ -46,7 +46,7 @@
|
||||
|
||||
<para>Install the package:</para>
|
||||
|
||||
<screen><userinput remap="install">pip3 install --no-index --find-links dist Jinja2</userinput></screen>
|
||||
<screen><userinput remap="install">pip3 install --no-index --no-user --find-links dist Jinja2</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -48,7 +48,7 @@
|
||||
|
||||
<para>Install the package:</para>
|
||||
|
||||
<screen><userinput remap="install">pip3 install --no-index --find-links dist Markupsafe</userinput></screen>
|
||||
<screen><userinput remap="install">pip3 install --no-index --no-user --find-links dist Markupsafe</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -103,12 +103,18 @@
|
||||
of this recommendation is for avoiding a conflict with the system
|
||||
package manager (<command>dpkg</command> for example), but LFS does not
|
||||
have a system-wide package manager so this is not a problem. If desired,
|
||||
suppress this warning by running the following command:</para>
|
||||
suppress this warning by running the following commands:</para>
|
||||
|
||||
<screen><userinput remap="install">cat > /etc/pip.conf << EOF
|
||||
[global]
|
||||
root-user-action = ignore
|
||||
EOF
|
||||
</userinput></screen>
|
||||
<!--
|
||||
<screen><userinput remap="install">sed -e '/def warn_if_run_as_root/a\ return' \
|
||||
-i /usr/lib/python3.10/site-packages/pip/_internal/cli/req_command.py
|
||||
</userinput></screen>
|
||||
|
||||
-->
|
||||
<important>
|
||||
<para>
|
||||
In LFS and BLFS we normally build and install Python modules with the
|
||||
|
@ -80,11 +80,14 @@
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed program</segtitle>
|
||||
<segtitle>Installed directory</segtitle>
|
||||
<segtitle>Installed directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>wheel</seg>
|
||||
<seg>/usr/lib/python&python-minor;/site-packages/wheel</seg>
|
||||
<seg>
|
||||
/usr/lib/python&python-minor;/site-packages/wheel and
|
||||
/usr/lib/python&python-minor;/site-packages/wheel-0.37.1-py3.10.egg-info
|
||||
</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user