[mythtv] Python bindings problem with importing modules
Rob Smith
kormoc at gmail.com
Wed Mar 12 18:12:01 UTC 2008
Wouldn't it be
from MythTV import MythLog
On Wed, Mar 12, 2008 at 10:06 AM, Ian Barton <lists at manor-farm.org> wrote:
> I am having some problems using the MythLog and MythDB classes. Thanks
> to earlier help the MythTV class is working fine.
>
> If I run a very simple program:
>
> #!/usr/bin/python
>
> from MythLog import *
>
> I get "ImportError: No module named MythLog", same for MythDB. Both
> these are installed in /usr/lib/python2.5/site-packages/MythTV/. I get
> the same error trying to import these classes from the command line.
>
> However, I see that the MythTV class, which seems to work without any
> errors runs exactly the same code. So what am I doing wrong?
>
>
> Ian.
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
More information about the mythtv-dev
mailing list