[mythtv-users] V35 install on Archlinux using cmake is missing python modules used in find_orphans.py
Bill Meek
keemllib at gmail.com
Wed Feb 19 15:45:53 UTC 2025
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
More information about the mythtv-users
mailing list