On 2/25/23 12:27, Dave Howorth wrote:
On Sat, 25 Feb 2023 08:40:45 -0800 Lew Wolfgang <wolfgang@sweet-haven.com> wrote:
On 2/24/23 12:59, Carlos E. R. wrote:
https://pmbs.links2linux.de/package/show/home:jejb1:PackMan/mythtv
The big problem is that python2 has bitrotted on openSUSE (and actually every modern distribution) to the extent that it can't build mythtv anymore, so the only viable way forward is to move to python3. The tradoff other distros (like Debian Multimedia) have made to make this happen is to drop MythNetvision, which no-one seems to be able to get built with python 3 thanks to its reliance on obsolete packages that weren't forward ported. I haven't been following this thread too closely, and I know nothing about mythtv, we're Tivo users, so please pardon my ignorance.
Python's move to version 3 has caused us years worth of heartache, we had lots of code to port. The most recent problem we've seen is Leap 15.4 not supporting the full version of TensorFlow, a Python module used for machine learning. We "seem" to have licked the problem by going to Anaconda, which allows you to install a full Python environment that unfolds in your home directory and so doesn't interfere with any core operating system modules. I think you can install it in system-wide areas if you want.
It looks like you can download older versions of Python too, including Python2. So you might be able to craft a Python2 environment to avoid Leap's bit-rotted version. It's easy to play with since it installs in a home directory and is invoked by some code in ~/.bashrc, so you can create a test user and have a go at it without threatening anything.
Our TensorFlow users are happy now. According to https://www.tensorflow.org/install
"TensorFlow is tested and supported on the following 64-bit systems:
"Python 3.7–3.10"
So it sounds like it's Leap's prehistoric software age.
I see also that https://software.opensuse.org/package/python3 says
"There is no official package available for openSUSE Leap 15.4"
Eh, no official python package! What am I missing?
I found a TensorFlow2-lite for Leap 15.4, but my user tried it and it failed. The full Anaconda one worked fine. Regards, Lew