[mythtv-users] building with python3.11
James Linder
jam at tigger.ws
Fri Dec 29 05:24:21 UTC 2023
> On Dec 29, 2023, at 07:30, John Hoyt <john.hoyt at gmail.com> wrote:
>
> 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.
John thankyou.
I’m amazed that you can reach for a ‘Community Chest’ card which says ‘pip3 and mysqlclient solve the problem’
James
More information about the mythtv-users
mailing list