Changeset 3094b8c


Ignore:
Timestamp:
08/10/2022 02:44:44 AM (21 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
960a230
Parents:
2fe5021c
Message:

Tweak pip3 instructions

Location:
chapter08
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter08/jinja2.xml

    r2fe5021c r3094b8c  
    4747    <para>Install the package:</para>
    4848
    49 <screen><userinput remap="install">pip3 install --no-index --find-links dist Jinja2</userinput></screen>
     49<screen><userinput remap="install">pip3 install --no-index --no-user --find-links dist Jinja2</userinput></screen>
    5050
    5151  </sect2>
  • chapter08/markupsafe.xml

    r2fe5021c r3094b8c  
    4949    <para>Install the package:</para>
    5050
    51 <screen><userinput remap="install">pip3 install --no-index --find-links dist Markupsafe</userinput></screen>
     51<screen><userinput remap="install">pip3 install --no-index --no-user --find-links dist Markupsafe</userinput></screen>
    5252
    5353  </sect2>
  • chapter08/python.xml

    r2fe5021c r3094b8c  
    104104    package manager (<command>dpkg</command> for example), but LFS does not
    105105    have a system-wide package manager so this is not a problem.  If desired,
    106     suppress this warning by running the following command:</para>
    107 
     106    suppress this warning by running the following commands:</para>
     107
     108 <screen><userinput remap="install">cat &gt; /etc/pip.conf &lt;&lt; EOF
     109[global]
     110root-user-action = ignore
     111EOF
     112</userinput></screen>
     113<!--
    108114<screen><userinput remap="install">sed -e '/def warn_if_run_as_root/a\    return' \
    109115    -i /usr/lib/python3.10/site-packages/pip/_internal/cli/req_command.py
    110116</userinput></screen>
    111 
     117-->
    112118    <important>
    113119      <para>
  • chapter08/wheel.xml

    r2fe5021c r3094b8c  
    8181    <segmentedlist>
    8282      <segtitle>Installed program</segtitle>
    83       <segtitle>Installed directory</segtitle>
     83      <segtitle>Installed directories</segtitle>
    8484
    8585      <seglistitem>
    8686        <seg>wheel</seg>
    87         <seg>/usr/lib/python&python-minor;/site-packages/wheel</seg>
     87        <seg>
     88           /usr/lib/python&python-minor;/site-packages/wheel and
     89           /usr/lib/python&python-minor;/site-packages/wheel-0.37.1-py3.10.egg-info
     90        </seg>
    8891      </seglistitem>
    8992    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.