Announcement

Collapse
No announcement yet.

On kubuntu 24.04 I have Python 3.12.3 installed. Is it possible to go back to install Python 3.11 ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    On kubuntu 24.04 I have Python 3.12.3 installed. Is it possible to go back to install Python 3.11 ?

    Hello

    I am on Kubuntu 24.24, and I try to follow a guide named
    How to transform your KDE plasma look like macOS

    In one step I try to install Albert launcher but
    sudo apt install albert
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    albert : Depends: libpython3.11 (>= 3.11.0) but it is not installable
    E: Unable to correct problems, you have held broken packages.
    So asking

    hi@hi-z97nwifi:~/Downloads/MacSonoma-kde/sddm$ python3 -V
    Python 3.12.3
    This is why I ask this may be stupid question

    #2
    I would not mess with the system install of python at all. One can descend into dependency hell all to easily. See the xkcd comic.

    On my 24.04,
    Code:
    $ sudo apt install albert                                                                                                            
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    E: Unable to locate package albert
    This suggests you have added a repository for albert. The "official packages" on the albertlauncher github has only Elementary, Mint, and PopOS!; IIUC they may not work with Kubuntu.

    If it was me, I'd try building from source inside a Python venv.
    Regards, John Little

    Comment


      #3
      To get Albert, you probably wake to follow their own instructions.
      https://albertlauncher.github.io/installation/

      Which leads to here
      https://software.opensuse.org/downlo...&hcolor=00aaaa


      We have no idea what page you are following, or how old or reliable it is. The Deb you have or it's source looks to be for an older version of Ubuntu.
      Last edited by claydoh; Oct 05, 2024, 04:54 PM.

      Comment


        #4
        Hello jlittle
        thank's for https://xkcd.com/1987/
        I appreciate !

        Hello claydoh
        I found conda
        https://greenwebpage.com/community/h...-ubuntu-24-04/
        With conda I was able to install python 3.11.10
        then install Albert
        and go back to previous 3.12.3
        then desinstall conda

        Thank you

        Comment


          #5
          Well that was the long and hard way to install this


          . All you needed was the way to get the package for Albert that was made specifically for (K)Ubuntu 24.04, which works with your stock Python version., and not muck with things at all.

          Comment


            #6
            Hello Claydoh
            Albert in previous install was not working right
            I just followed your plan and it's much fast to install
            .....seems to work now......I can launch it but it not open a windows.....so

            Last edited by Beber; Oct 07, 2024, 05:40 AM.

            Comment

            Working...
            X