Re:Canonical releases Ubuntu 22.10 Kinetic Kudu
by tmtvl on Thursday October 20, 2022 @02:00PM
(#33278352)
I've also been using TW for a while now (6 or so years) and I've taken to using GNU Guix as an environment manager when I need a specific version of some software.
Re:Canonical releases Ubuntu 22.10 Kinetic Kudu
by int_19h on Thursday October 20, 2022 @02:16PM
(#33278563)
That's exactly the kind of stuff that https://github.com/pyenv/pyenv is meant to handle.
Re:Canonical releases Ubuntu 22.10 Kinetic Kudu
by umvi on Thursday October 20, 2022 @05:24PM
(#33280957)
I started down that route as well but was running into the same gcc issues as when compiling manually. I found this issue https://github.com/pyenv/pyenv/issues/2046 but the workaround didn't immediately work for me and I didn't dig any deeper.
I needed specifically Python 3.6 to test something, and man that was hard to get working in Tumbleweed. First of all, it is not available in standard repos or pre-built on python's website. Second of all, downloading 3.6 source and building it fails because (apparently) the GCC version I have is too new and creates problems with the `-O3` flag passed during building. So now I have to install an older version of GCC that plays nice with python 3.6 source code...
Eventually I just said "screw it" and used the docker python:3.6 image. Not quite as convenient as having a native python3.6, but "good enough". Not sure what I would do if that image became unavailable.