<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Feb 6, 2025 at 9:09 PM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com">pb.mythtv@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"><u></u>
<div>
<p><br>
</p>
<div>On 2/6/25 20:24, James Abernathy wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Feb 6, 2025 at
8:09 PM Nick Morrott <<a href="mailto:knowledgejunkie@gmail.com" target="_blank">knowledgejunkie@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">On
Fri, 7 Feb 2025 at 00:12, James Abernathy <<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a>>
wrote:<br>
><br>
> 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.<br>
><br>
> ~$ ./find_orphans.py<br>
> Traceback (most recent call last):<br>
> File "/home/jim/./find_orphans.py", line 3, in
<module><br>
> from MythTV import MythDB, MythBE, Recorded,
MythError<br>
> ModuleNotFoundError: No module named 'MythTV'<br>
<br>
The Python bindings are not being found.<br>
<br>
*) Are the bindings installed at all? (`sudo apt install<br>
python3-mythtv` may fix that if installed from packages in
the<br>
Debianverse)<br>
<br>
*) Are the bindings installed but inside a venv? (You need
to activate<br>
the venv to provide access to them)<br>
<br>
Cheers,<br>
Nick<br>
_______________________________________________<br>
<br>
</blockquote>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Jim A <br>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
</pre>
</blockquote>
<p>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.<br>
</p>
<p>Peter<br>
</p>
</div></blockquote><div>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. <br></div><div><br></div><div>Does mythtv-light default to cmake now?<br></div><div>JIm A<br><br></div></div></div>