[mythtv-users] building with python3.11

John Hoyt john.hoyt at gmail.com
Thu Dec 28 23:30:46 UTC 2023


On Thu, Dec 28, 2023 at 5:43 PM James Linder <jam at tigger.ws> wrote:

>
>
> > On Dec 29, 2023, at 04:33, James Linder <jam at tigger.ws> wrote:
> >
> > Hi
> > perhaps knowlegable folk can guide me please:
> >
> > I’m trying to build for openSuSE using python3.11
> > Python bindings fail because missing
> >
> > WARNING: disabling Python bindings; missing MySQLdb
> >
> > The distro has no MySQLdb package but does have
> >
> > python3-PyMySQL                               Pure Python MySQL Driver
> >
> > Is this correct? in which case I can tweek configure
>
> Lots of experiments
>
> jam at fire:~/mythtv/mythtv>
> /usr/local/share/mythtv/metadata/Television/ttvdb4.py -l en -a US -M 'Costa
> Concordia'
> ERROR: <class 'MythTV.exceptions.MythError'> : No viable database module
> found.
>
> jam at fire:~/mythtv/mythtv> zypper se pymysql
>
> S  | Name            | Summary                  | Type
> ---+-----------------+--------------------------+--------
> i+ | python3-PyMySQL | Pure Python MySQL Driver | package
>
> <quote>
> The goal of pymysql is to be a drop-in replacement for MySQLdb and work on
> </quote>
>

Have you tried "pip3 install mysqlclient"?

That's what I have to do on macOS homebrew to get past that error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20231228/66dfc110/attachment.htm>


More information about the mythtv-users mailing list