<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 20, 2023 at 10:42 PM James Abernathy <<a href="mailto:jfabernathy@gmail.com">jfabernathy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 20, 2023 at 4:25 PM James Abernathy <<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 20, 2023 at 4:06 PM Roland Ernst <<a href="mailto:rcrernst@gmail.com" target="_blank">rcrernst@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 20, 2023 at 7:04 PM James Abernathy <<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I was starting to build mythtv from source on Endeavour OS which is a Arch linux based distro.  It complied fine but the sudo make install failed due to new rules that are starting to creep into OSs.  It will affect Debian, Ubuntu, Fedora, Archlinux, etc very soon. It happened to me today on something that last week didn't cause a problem.<div><br></div><div>The error is related to installing pip packages. Here is a the console error I saw at the end of sudo make install:</div><div><br></div><div><br><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)">
make[</span><span style="font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">1</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)">]: Entering directory </span><span style="font-style:italic;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">'/home/jim/build/mythtv/mythtv/bindings/python'</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)">
python3 -m pip install   --no-build-isolation --no-cache-dir --no-index --disable-pip-version-check --no-deps --find-links ./dist MythTV
</span><span style="font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">error:</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> externally-managed-environment

× This environment </span><span style="font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">is</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> externally managed
╰─> </span><span style="color:rgb(38,38,38);font-weight:bold;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">To</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> install Python packages system-wide, </span><span style="color:rgb(38,38,38);font-weight:bold;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">try</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> </span><span style="font-style:italic;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">'pacman -S</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)">
    python-xyz</span><span style="font-style:italic;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">', where xyz is the package you are trying to</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)">
    install.
    
    </span><span style="color:rgb(38,38,38);font-weight:bold;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">If</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> you wish </span><span style="color:rgb(38,38,38);font-weight:bold;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">to</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> install a non-Arch-packaged Python package,
    create a virtual environment </span><span style="color:rgb(38,38,38);font-weight:bold;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">using</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> </span><span style="font-style:italic;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">'python -m venv path/to/venv'.</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)">
    </span><span style="color:rgb(38,38,38);font-weight:bold;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">Then</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> use path/</span><span style="color:rgb(38,38,38);font-weight:bold;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">to</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)">/venv/bin/python </span><span style="font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">and</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> path/</span><span style="color:rgb(38,38,38);font-weight:bold;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">to</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)">/venv/bin/pip.
    
    </span><span style="color:rgb(38,38,38);font-weight:bold;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">If</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> you wish </span><span style="color:rgb(38,38,38);font-weight:bold;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">to</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> install a non-Arch packaged Python application,
    it may be easiest </span><span style="color:rgb(38,38,38);font-weight:bold;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">to</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> use </span><span style="font-style:italic;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">'pipx install xyz', which will manage a</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)">
    virtual environment </span><span style="color:rgb(38,38,38);font-weight:bold;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">for</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> you. Make sure you have python-pipx
    installed via pacman.

</span><span style="font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">note:</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> </span><span style="color:rgb(38,38,38);font-weight:bold;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">If</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> you believe this </span><span style="font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">is</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> a mistake, please contact your Python installation </span><span style="font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">or</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> OS distribution provider. You can override this, at the risk </span><span style="color:rgb(38,38,38);font-weight:bold;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">of</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> breaking your Python installation </span><span style="font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">or</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> OS, </span><span style="color:rgb(38,38,38);font-weight:bold;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">by</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> passing --break-system-packages
</span><span style="font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">hint:</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> See PEP </span><span style="font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">668</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> </span><span style="color:rgb(38,38,38);font-weight:bold;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">for</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> the detailed specification.
make[</span><span style="font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">1</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)">]: *** [Makefile:</span><span style="font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">35</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)">: install] </span><span style="color:rgb(38,38,38);font-weight:bold;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">Error</span><span style="color:rgb(38,38,38);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap;background-color:rgb(241,241,241)"> </span><span style="font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap">1</span><br></div><div><span style="font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap"><br></span></div><div><span style="font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;font-size:15.008px;white-space:pre-wrap"><span style="color:rgb(0,0,0);font-family:Arial,sans-serif;white-space:normal;background-color:rgb(247,247,247)">This link gives a better explanation of what’s going on: </span><a href="https://pythonspeed.com/articles/externally-managed-environment-pep-668/" rel="noopener nofollow ugc" style="background-color:rgb(247,247,247);text-decoration-line:none;font-family:Arial,sans-serif;white-space:normal" target="_blank">https://pythonspeed.com/articles/externally-managed-environment-pep-668/</a><br></span></div><div><br></div><div>So my question is, now what?</div><div><br></div><div>Jim A<br><br></div></div></blockquote><div><br></div><div>See <a href="https://lists.archive.carbon60.com/mythtv/dev/643410" target="_blank">https://lists.archive.carbon60.com/mythtv/dev/643410</a><br>For advanced users compiling and installing MythTV from source, <br>do a "export PIP_BREAK_SYSTEM_PACKAGES=1" before the <br>installation of the local build. <br></div><div><br></div><div>Roland</div></div></div></blockquote><div><br></div><div>Thanks for that information. I'll give it a shot. The odd thing is I need it on EndeavourOS and not Archlinux, which EOS is built on.</div><div><br></div><div>JIm A</div></div></div></blockquote><div><br></div><div>That didn't fix it for me. After make -j5</div><div>I did  <span style="color:rgb(0,0,0);font-family:monospace">export PIP_BREAK_SYSTEM_PACKAGES=1 then </span></div><div><span style="color:rgb(0,0,0);font-family:monospace">sudo make install.</span></div><div><font face="monospace" color="#000000">Same basic error message as before:</font></div><div><font face="monospace" color="#000000"><br></font></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">ake -C bindings/python install INSTALL_ROOT=
</span><br>make[1]: Entering directory '/home/jim/build/mythtv/mythtv/bindings/python'
<br>python3 -m pip install   --no-build-isolation --no-cache-dir --no-index --disable<br>-pip-version-check --no-deps --find-links ./dist MythTV
<br><span style="font-weight:bold;color:rgb(255,84,84)">error</span><span style="color:rgb(0,0,0)">: </span><span style="font-weight:bold;color:rgb(0,0,0)">externally-managed-environment</span><span style="color:rgb(0,0,0)">
</span><br>
<br><span style="color:rgb(178,24,24)">×</span><span style="color:rgb(0,0,0)"> This environment is externally managed
</span><br><span style="color:rgb(178,24,24)">╰─></span><span style="color:rgb(0,0,0)"> To install Python packages system-wide, try 'pacman -S
</span><br><span style="color:rgb(178,24,24)">   </span><span style="color:rgb(0,0,0)"> python-xyz', where xyz is the package you are trying to
</span><br><span style="color:rgb(178,24,24)">   </span><span style="color:rgb(0,0,0)"> install.
</span><br><span style="color:rgb(178,24,24)">   </span><span style="color:rgb(0,0,0)">  </span><br><span style="color:rgb(178,24,24)">   </span><span style="color:rgb(0,0,0)"> If you wish to install a non-Arch-packaged Python package,
</span><br><span style="color:rgb(178,24,24)">   </span><span style="color:rgb(0,0,0)"> create a virtual environment using 'python -m venv path/to/venv'.
</span><br><span style="color:rgb(178,24,24)">   </span><span style="color:rgb(0,0,0)"> Then use path/to/venv/bin/python and path/to/venv/bin/pip.
</span><br><span style="color:rgb(178,24,24)">   </span><span style="color:rgb(0,0,0)">  </span><br><span style="color:rgb(178,24,24)">   </span><span style="color:rgb(0,0,0)"> If you wish to install a non-Arch packaged Python application,
</span><br><span style="color:rgb(178,24,24)">   </span><span style="color:rgb(0,0,0)"> it may be easiest to use 'pipx install xyz', which will manage a
</span><br><span style="color:rgb(178,24,24)">   </span><span style="color:rgb(0,0,0)"> virtual environment for you. Make sure you have python-pipx
</span><br><span style="color:rgb(178,24,24)">   </span><span style="color:rgb(0,0,0)"> installed via pacman.
</span><br>
<br><span style="font-weight:bold;color:rgb(255,84,255)">note</span><span style="color:rgb(0,0,0)">: If you believe this is a mistake, please contact your Python installation o</span><br>r OS distribution provider. You can override this, at the risk of breaking your P<br>ython installation or OS, by passing --break-system-packages.
<br><span style="font-weight:bold;color:rgb(84,255,255)">hint</span><span style="color:rgb(0,0,0)">: See PEP 668 for the detailed specification.
</span><br>make[1]: *** [Makefile:35: install] Error 1<br>
<br></span></div><span style="font-family:monospace">Jim A</span><br>
</div></div><br></blockquote><div><br></div><div>Try <br></div><div><span style="font-family:monospace"><font size="4">sudo PIP_BREAK_SYSTEM_PACKAGES=1 make install</font></span></div><div><br></div><div>Once again:<br></div><div>This is only recommended for test installations of MythTV<br></div><div>Use the default way to build packages accepted by the official package manager of the OS distributions you are running. <br></div><div>You did it already for Debian as shown in previous mails. <br></div><div>For production systems use a similar way for Endeavour OS.</div><div>The OS maintainers have very good reasons to restrict python pip to install packages system-wide!</div><div><br></div><div>Roland<br> </div></div></div>