[mythtv-users] running python scripts on OS X against mythtv database?

Greg Oliver oliver.greg at gmail.com
Sat Nov 24 21:47:30 UTC 2018


On Sat, Nov 24, 2018 at 3:27 PM James Abernathy <jfabernathy at gmail.com>
wrote:

> I have some scripts that work on my Ubuntu systems that print data from
> the mythtv backend and database.
>
> I have a Macbook Pro that I run Mythfrontend and XQuartz for maintenance
> of the backend. I’d like to run some python scripts.
>
> How do I link up all the modules so I don’t get errors like:
>
>   File "./find_recording_inputs.py", line 13, in <module>
>     from MythTV import exceptions, MythBE
> ImportError: No module named MythTV
>
>
> Jim Abernathy
> jfabernathy at gmail.com
>
> I'm not sure if there is a package for the MythTV bindings for macos, but
for python in general, you can either place them in the same directory,
specify the full location on import (google this one) or modify the path
python uses (sys.path) prior to importing them.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20181124/8fce9b6f/attachment.html>


More information about the mythtv-users mailing list