[mythtv-users] V35 install on Archlinux using cmake is missing python modules used in find_orphans.py

James Abernathy jfabernathy at gmail.com
Wed Feb 19 15:53:55 UTC 2025


On Wed, Feb 19, 2025 at 10:47 AM Bill Meek <keemllib at gmail.com> wrote:

>
>
>
> On Wednesday 19 February 2025 08:24:29 AM (-06:00), James Abernathy wrote:
>
> > On Wed, Feb 19, 2025 at 9:21 AM James Abernathy <jfabernathy at gmail.com>
> > wrote:
> >
> > >
> > >
> > > On Wed, Feb 19, 2025 at 9:11 AM glen <glenb at glenb.net> wrote:
> > >
> > >> On Wed, 2025-02-19 at 07:42 -0500, James Abernathy wrote:
> > >>
> > >> So I've got a successful build of Mythtv on Archlinux using the v35
> cmake
> > >> method. I used ansible for my dependencies and it works fine as far
> as I
> > >> can tell.
> > >>
> > >> However when I try find_orphans.py I get:
> > >>
> > >> ./find_orphans.py
> > >> Traceback (most recent call last):
> > >>  File "/home/jim/Downloads/./find_orphans.py", line 3, in <module>
> > >>    from MythTV import MythDB, MythBE, Recorded, MythError
> > >> ModuleNotFoundError: No module named 'MythTV'
> > >>
> > >> I built using sudo like this:
> > >>
> > >> sudo cmake --preset qt5 -DCMAKE_INSTALL_PREFIX=/usr 2>&1 | tee
> > >> ~/stage1-log
> > >> sudo cmake --build build-qt5 2>&1 | tee ~/stage2.log
> > >>
> > >> I looked through the stage1 and 2 log files I teed off and didn't see
> > >> anything missing except qt5webkit which is not needed.
> > >>
> > >> I can post those logs to Google Drive if needed.
> > >>
> > >> Jim A
> > >>
> > >>
> > >
> > >> is mythtv folder in the latest python on your machine in
> site-packages ?
> > >>
> > >
> > >  No it seems that the build process didn't even build them???
> > >
> > > sudo updatedb
> > > sudo plocate site-packages | grep -i mythtv
> > >
> > > Shows nothing.
> > >
> > > Jim A
> > >
> >
> > BTW the link to the google drive with the stage 1&2 logs is:
> >
> >
> https://drive.google.com/drive/folders/1v4beUzxygecF5_Sq4g2OR1s7s6CN9W4u?usp=drive_link
> >
> > Jim A
>
> 1. I see pip is missing and it's not in ansible, please try pacman and
> install python-pip
>    And python3-pip (I don't see any python3 packages in the pacman ansible
> tasks.)
>    I'll push if one of those works.
>
> 2. If it doesn't help, try adding this: -DMYTH_BINDINGS_INSTALL_ROOT=/
>
>
> 3. Are you running cmake as root?
>    Including user overrides /root/.config/MythTV/BuildOverridesPost.cmake
>   That's my choice as I mimic the 'old' make/sudo make install.
> --
> Bill


python-pip was missing and I installed it.  However, python3-pip is not
found on the Arch repository.

I'll see what I can do with that.

Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20250219/5b385633/attachment.htm>


More information about the mythtv-users mailing list