[mythtv-users] find_orphans.py

James Abernathy jfabernathy at gmail.com
Fri Feb 7 02:19:13 UTC 2025


On Thu, Feb 6, 2025 at 9:09 PM Peter Bennett <pb.mythtv at gmail.com> wrote:

>
> On 2/6/25 20:24, James Abernathy wrote:
>
>
>
> On Thu, Feb 6, 2025 at 8:09 PM Nick Morrott <knowledgejunkie at gmail.com>
> wrote:
>
>> On Fri, 7 Feb 2025 at 00:12, James Abernathy <jfabernathy at gmail.com>
>> wrote:
>> >
>> > I'm having issues running find_orphans.py on a new system. I must have
>> missed installing something. I'm running this on the backend.
>> >
>> > ~$ ./find_orphans.py
>> > Traceback (most recent call last):
>> >   File "/home/jim/./find_orphans.py", line 3, in <module>
>> >     from MythTV import MythDB, MythBE, Recorded, MythError
>> > ModuleNotFoundError: No module named 'MythTV'
>>
>> The Python bindings are not being found.
>>
>> *) Are the bindings installed at all? (`sudo apt install
>> python3-mythtv` may fix that if installed from packages in the
>> Debianverse)
>>
>> *) Are the bindings installed but inside a venv? (You need to activate
>> the venv to provide access to them)
>>
>> Cheers,
>> Nick
>> _______________________________________________
>>
>>
> I can't find a package called python3-mythtv for Debian 12.  I know it
> gets installed by building the Debian packages, but I'm doing a build from
> source via cmake and I installed my dependencies using ansible but
> python3-mythtv must not get installed there.
>
> Jim A
>
> _______________________________________________
>
> Look for the directory /usr/local/lib/python3.12/dist-packages/MythTV.
> That is where all the python stuff for MythTV is installed on my testing
> system. Depending on your python version the python3.12 directory may be
> different. find_orphans.py works on my system. This system was installed
> using a mythtv-light package built with cmake, but it should be the same
> for other install methods.
>
> Peter
>
Thanks, maybe there's an option to either build or install it. In my
/usr/local/lib/phton3.11/dist-packages directory, there are no files.

Does mythtv-light default to cmake now?
JIm A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20250206/7351ad9f/attachment.htm>


More information about the mythtv-users mailing list