mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 14:24:48 +00:00
Tweak pip3 instructions
This commit is contained in:
parent
2fe5021cfa
commit
3094b8c742
@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
<para>Install the package:</para>
|
<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>
|
</sect2>
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
<para>Install the package:</para>
|
<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>
|
</sect2>
|
||||||
|
|
||||||
|
@ -103,12 +103,18 @@
|
|||||||
of this recommendation is for avoiding a conflict with the system
|
of this recommendation is for avoiding a conflict with the system
|
||||||
package manager (<command>dpkg</command> for example), but LFS does not
|
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,
|
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' \
|
<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
|
-i /usr/lib/python3.10/site-packages/pip/_internal/cli/req_command.py
|
||||||
</userinput></screen>
|
</userinput></screen>
|
||||||
|
-->
|
||||||
<important>
|
<important>
|
||||||
<para>
|
<para>
|
||||||
In LFS and BLFS we normally build and install Python modules with the
|
In LFS and BLFS we normally build and install Python modules with the
|
||||||
|
@ -80,11 +80,14 @@
|
|||||||
|
|
||||||
<segmentedlist>
|
<segmentedlist>
|
||||||
<segtitle>Installed program</segtitle>
|
<segtitle>Installed program</segtitle>
|
||||||
<segtitle>Installed directory</segtitle>
|
<segtitle>Installed directories</segtitle>
|
||||||
|
|
||||||
<seglistitem>
|
<seglistitem>
|
||||||
<seg>wheel</seg>
|
<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>
|
</seglistitem>
|
||||||
</segmentedlist>
|
</segmentedlist>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user