[mythtv] cmake build
Roland Ernst
rcrernst at gmail.com
Thu Jan 23 20:20:11 UTC 2025
On Thu, Jan 23, 2025 at 7:37 PM Peter Bennett <pb.mythtv at gmail.com> wrote:
>
> On 1/23/25 13:22, Roland Ernst wrote:
> > It could be that you have two versions of pip installed.
> > did you run "get-pip.py" or similar "ensurepip" ?
> No I never used that.
> > See https://pip.pypa.io/en/stable/installation/
> > That is not the Debian way and others Distros following Pythons PEP 668.
> > Note: There are at least two good reason for OS-Maintainers to disallow
> > the installation of packages via PyPa (i.e. pip): Maintenance and
> > Security.
> > According python docs, the correct sequence to use pip is
> > "python3 -m pip". There should not be any executable called 'pip' on
> > your system.
> > I will try the cmake building of MythTV over the weekend, hopefully.
> > On a fresh chroot environment, to ensure it does not make any unwanted
> > package installations. It is on my list to create Debian packages with
> > cmake, anyway.
> >
> > Roland
> > P.S: Googling for ninja-build and python pip externally managed
> > environment
> > results to some interesting bug reports. It could be a ninja-build bug
> > as well.
>
> I did install a venv to use the translate utility
> mythtv/html/translation-util.py which needs googletrans. googletrans is
> not available in ubuntu so I installed a venv and then installed
> googletrans with pip3.
>
> However if I don't activate the venv it will still use the system wide
> installation.
>
> python3 -m pip install gives the same error message as pip (error:
> externally-managed-environment). There is an executable pip in /usr/bin.
>
> Peter
>
>
I see this executable "/usr/bin/pip" as well after installing the
python3.pip package
on Ubuntu 24.04. It is a python script that basically wraps to python
modules (size 221 bytes).
If I look at the file "mythtv/cmake/FindPython3Modules.cmake", I see a
"DEBUG" option for additional output when checking available python
modules.
Is there a way to turn on that "DEBUG" output when building?
Roland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20250123/6a78bb6e/attachment.htm>
More information about the mythtv-dev
mailing list