Jump to content
Ultimaker Community of 3D Printing Experts

Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed


ndimensional
 Share

Recommended Posts

Posted (edited) · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

Hi, when trying to install Cura 2.4 PPA to Linux Mint 18.1 I get the error message from the "apt install cura" command:

"... could not be installed...

The following packages have unresolved dependencies:

cura : depends on: python3-uranium but should not be installed"

Well, the following python packages ARE installed:

Python 2.7.12 AND Python 3.5.2

The standard/ default python is the 2.7.12 ...

all versions checked by commands "Python3 -V" "Python2 -V" and "Phyton -V"

So how can I make cura using the installed Python 3? Or is there another thing I am missing? I dont want to replace the default Python2 by Python3 since there may be dependencies in the whole rest of the programs and system to Python2.....

Anyone any idea?

Edited by Guest
  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    The PPA is not officially supported by us. The appimage that we distribute should work fine.

    I've sent a mail to the guy that made the PPA so he can have a look at it

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    Hey, if you still like to use the PPA, then just provide full outputs for the errors you get.

    Also on which Ubuntu LTS is Mint 18.1 based on?

    Need all the info to understand what is going wrong on you side

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    Well, would like to continue to use the PPA - so here we go:

    -------------------------------------------------------------------------------------

    Linux Mint 18.1 KDE Edition

    Based on Ubuntu 16.04

    -------------------------------------------------------------------------------------

    Unfortunately I have chosen German a s system language, so the output is in German - will try to create an English version additionally:

    -----------------------------------------------------

    xxxxxx@Tower-Mint ~ $ su

    Passwort:

    Tower-Mint xxxxxx # apt update

    Ign:2 http://ftp-stud.hs-esslingen.de/pub/Mirrors/packages.linuxmint.com'>http://ftp-stud.hs-esslingen.de/pub/Mirrors/packages.linuxmint.com'>http://ftp-stud.hs-esslingen.de/pub/Mirrors/packages.linuxmint.com'>http://ftp-stud.hs-esslingen.de/pub/Mirrors/packages.linuxmint.com serena InRelease

    OK:3 http://archive.canonical.com/ubuntu xenial InRelease

    OK:4 http://update.devolo.com/linux/apt stable InRelease

    OK:5 http://archive.ubuntu.com/ubuntu'>http://archive.ubuntu.com/ubuntu'>http://archive.ubuntu.com/ubuntu'>http://archive.ubuntu.com/ubuntu'>http://archive.ubuntu.com/ubuntu'>http://archive.ubuntu.com/ubuntu'>http://archive.ubuntu.com/ubuntu xenial InRelease

    OK:6 http://ftp-stud.hs-esslingen.de/pub/Mirrors/packages.linuxmint.com serena Release

    OK:7 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial InRelease

    Holen:8 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]

    OK:9 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu xenial InRelease

    OK:10 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial InRelease

    OK:11 http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial InRelease

    OK:12 http://ppa.launchpad.net/lightzone-team/lightzone/ubuntu xenial InRelease

    Holen:13 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]

    OK:14 http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu xenial InRelease

    OK:16 http://ppa.launchpad.net/thopiekar/cura/ubuntu xenial InRelease

    Holen:17 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]

    OK:18 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu xenial InRelease

    OK:19 http://ppa.launchpad.net/wfg/0ad/ubuntu xenial InRelease

    OK:1 http://screenshots.getdeb.net xenial-getdeb InRelease

    Es wurden 306 kB in 0 s geholt (464 kB/s).

    Paketlisten werden gelesen... Fertig

    Abhängigkeitsbaum wird aufgebaut.

    Statusinformationen werden eingelesen.... Fertig

    Aktualisierung für 6 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.

    Tower-Mint xxxxxx # apt install cura

    Paketlisten werden gelesen... Fertig

    Abhängigkeitsbaum wird aufgebaut.

    Statusinformationen werden eingelesen.... Fertig

    Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass

    Sie eine unmögliche Situation angefordert haben oder, wenn Sie die

    Unstable-Distribution verwenden, dass einige erforderliche Pakete noch

    nicht erstellt wurden oder Incoming noch nicht verlassen haben.

    Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

    Die folgenden Pakete haben unerfüllte Abhängigkeiten:

    cura : Hängt ab von: python3-uranium soll aber nicht installiert werden

    E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.

    Tower-Mint xxxxxx #

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    I'm German, so thats no problem.

    Next time just put "LANG=C" in front of your command. It will make your application return everything in English (default programming language).

    Please post the output of "sudo apt install python3-uranium".

    Thanks!

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    Here the output - so what I understand now, that Python 3.5.2 is NOT Python3-uranium right? And that seems to be the problem?

    ----------------------------------------------------------------------------------------

    xxxxxx@Tower-Mint ~ $ LANG=C sudo apt install python3-uranium

    [sudo] password for xxxxxx:

    Reading package lists... Done

    Building dependency tree

    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:

    python3-uranium : Depends: python3-pyqt5 but it is not going to be installed

    Depends: python3-pyqt5.qtopengl but it is not going to be installed

    Depends: python3-pyqt5.qtquick but it is not going to be installed

    Depends: python3-pyqt5.qtsvg but it is not going to be installed

    E: Unable to correct problems, you have held broken packages.

    xxxxxx@Tower-Mint ~ $ python -V

    Python 2.7.12

    xxxxxx@Tower-Mint ~ $ python3 -V

    Python 3.5.2

    xxxxxx@Tower-Mint ~ $

    Regards

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    There is something wrong with your environment, it is not fully up-to-date.

    You should run an 'apt-get update' and an 'apt-get dist-upgrade' to get a consistent environment.

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    What is the output when trying to install python3-pyqt5?

    I wouldn't say it is about updates. Guess it is more about something that was upgraded or changed at the basic python packages by the Mint developers. Currently I have not the time to look on my own for the reason why it fails, but if someone can show me the true (detailed) reason, then I can maybe help

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    He has "broken packages", means he is not on a coherent dist.

    Trying to solve anything before he he gets a consistent system is a waste of time...

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    Ok, overlooked this message somehow.

    What's needed is a "apt update; apt-get install -f; apt-get dist-upgrade" here. However, looking for the reason like I was planning to do would at the end point at the troubling package I think.

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    Yes, absolutely -- I would do exactly the same to find which dependency is really missing or broken. Just wanted to stress that we need to start from a 'sane' situation...

  • Link to post
    Share on other sites

    Posted (edited) · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    OK, did it (update, install -f, dist-upgrade) once - could not find anything in the output which has "pyth*" in, but upgraded 6 packages.... .

    Then did it (update, install -f, dist-upgrade) again and all seems to be o.k. - see below

    Then tried again apt-install cura - still same error rg dependency to python3-uranium. Still same two python version installed, still Python2xx standard.

    ------------------------------------------------------------------------------------------------------

    xxxxxx@Tower-Mint ~ $ su

    Passwort:

    Tower-Mint xxxxxx # LANG=C apt update

    Ign:1 http://ftp-stud.hs-esslingen.de/pub/Mirrors/packages.linuxmint.com'>http://ftp-stud.hs-esslingen.de/pub/Mirrors/packages.linuxmint.com'>http://ftp-stud.hs-esslingen.de/pub/Mirrors/packages.linuxmint.com'>http://ftp-stud.hs-esslingen.de/pub/Mirrors/packages.linuxmint.com serena InRelease

    Hit:3 http://update.devolo.com/linux/apt stable InRelease                                

    Hit:4 http://archive.canonical.com/ubuntu xenial InRelease                                

    Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]                

    Hit:6 http://ftp-stud.hs-esslingen.de/pub/Mirrors/packages.linuxmint.com serena Release    

    Hit:7 http://archive.ubuntu.com/ubuntu'>http://archive.ubuntu.com/ubuntu'>http://archive.ubuntu.com/ubuntu'>http://archive.ubuntu.com/ubuntu'>http://archive.ubuntu.com/ubuntu'>http://archive.ubuntu.com/ubuntu'>http://archive.ubuntu.com/ubuntu xenial InRelease                                    

    Hit:8 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial InRelease  

    Get:9 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]                  

    Hit:10 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu xenial InRelease

    Hit:11 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial InRelease              

    Hit:13 http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial InRelease                  

    Hit:14 http://ppa.launchpad.net/lightzone-team/lightzone/ubuntu xenial InRelease          

    Get:15 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]              

    Hit:16 http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu xenial InRelease          

    Hit:17 http://ppa.launchpad.net/thopiekar/cura/ubuntu xenial InRelease                    

    Hit:2 http://screenshots.getdeb.net xenial-getdeb InRelease              

    Hit:18 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu xenial InRelease

    Hit:19 http://ppa.launchpad.net/wfg/0ad/ubuntu xenial InRelease

    Fetched 306 kB in 0s (473 kB/s)                  

    Reading package lists... Done

    Building dependency tree      

    Reading state information... Done

    All packages are up to date.

    Tower-Mint xxxxxx # LANG=C apt-get install -f

    Reading package lists... Done

    Building dependency tree      

    Reading state information... Done

    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    Tower-Mint xxxxxx # LANG=C apt-get dist-upgrade

    Reading package lists... Done

    Building dependency tree      

    Reading state information... Done

    Calculating upgrade... Done

    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    Tower-Mint xxxxxx #

    LANG=C apt install cura

    Reading package lists... Done

    Building dependency tree      

    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:

    cura : Depends: python3-uranium but it is not going to be installed

    E: Unable to correct problems, you have held broken packages.

    Tower-Mint xxxxxx #

    Edited by Guest
  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    That would be the next step:

     

    What is the output when trying to install python3-pyqt5?

     

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    Tower-Mint xxxxxx # LANG=C apt install python3-pyqt5

    Reading package lists... Done

    Building dependency tree

    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:

    python3-pyqt5 : Depends: qtbase-abi-5-5-1

    E: Unable to correct problems, you have held broken packages.

    Tower-Mint xxxxxx # LANG=C apt install qtbase-abi-5-5-1

    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    Package qtbase-abi-5-5-1 is a virtual package provided by:

    libqt5core5a 5.5.1+dfsg-16ubuntu7.2 [Not candidate version]

    libqt5core5a 5.5.1+dfsg-16ubuntu7 [Not candidate version]

    E: Package 'qtbase-abi-5-5-1' has no installation candidate

    Tower-Mint xxxxxx #

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    Strange...

    I made a quick install of Mint 18.1 (Cinnamon) and python3-pyqt5 does not install qtbase-abi.

    Install from PPA runs like a breeze:

    5a33292227792_ScreenShot2017-03-29at16_02_20.thumb.png.6224f8c97c013a272cd96eb79b5638cd.png

    I believe something else is installed on your system which requires incompatible version

    What does "dpkg -l qtbase*" gives on your system?

    5a33292227792_ScreenShot2017-03-29at16_02_20.thumb.png.6224f8c97c013a272cd96eb79b5638cd.png

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    xxxxxx@Tower-Mint ~ $ LANG=C dpkg -l qtbase*

    Desired=Unknown/Install/Remove/Purge/Hold

    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

    ||/ Name Version Architecture Description

    +++-================-=============-=============-======================================

    un qtbase-abi-5-6-1 (no description available)

    un qtbase5-dev-tool (no description available)

    xxxxxx@Tower-Mint ~ $

    ---------------------------------------------------------------------------------------------

    But if this - at it looks like - is really only affecting me, I am appreciating your help but we should not waste too much of your time for root cause analysis which will take quite some time as it seems - at the end the Appimage runs.... Only due to consistency I would prefer to use the PPA, but not solving the problem would now not be a show stopper ....... so I would fully understand and agree if we stop here .....

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    Here is what I think: you have quite some PPA's in your list; one of them probably pulled qt 5.6 from backports (this one in "hit 18" in your last update).

    Cura wants python3-pyqt5 which relies on qt 5.5 (default in Min 18.1) and this is where it breaks!

    Just FYI, on my default install I have:

     

    after8 ~ # dpkg -l qtbase*Desired=Unknown/Install/Remove/Purge/Hold| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)||/ Name           Version      Architecture Description+++-==============-============-============-=================================un  qtbase-abi-5-5        (no description available)

     

    Just my view, let's wait if @thopiekar has not a better idea...

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    The only reason I see is that @ndimensional is/was using another PPA with eg. KDE updates, so packages with more recent Qt libraries were included.

    One mistake is often that people think that disabling a PPA reverts all upgraded packages, but in fact you have a system with mixed (and unmaintained) packages.

    If this is the case then re-enabled the PPA you were using before and purge it with "ppa-purge" or use apt-pinning methods to downgrade all packages to a version, which are available in at least one of your repositories.

    So yeah, there are different ways to repair a system, which is in your broken state

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    Well, seems that my system is not broken, but the problem is the "Linux Mint 18.1 KDE Edition" in general - or you take the KDE edition as broken 8^(

    Checked the "hit 18" relating to kubuntu-ppa/backports. So I was wondering about the referral to "kubuntu", then it became clear to me: I am using the "Linux Mint 18.1 KDE Edition"version:

    -----------------------------------

    KDE-Plasma-Version:5.8.5

    KDE-Frameworks-Version:5.28.0

    Qt-Version:5.6.1

    Kernel-Version:4.4.0-64-generic

    64Bit OS

    ------------------------------------

    and it has this from the beginning.

    Looking via Synaptic at the installed files for "kubuntu-ppa-backports" there are some KDE modules/parts with a referral to different QT modules....

    Also this is as the single additional PPA source in a clean MINT-KDE installation without any additional software installed. I tried now to install cura on a newly installed, clean system- only KDE. And see, same error. Then I tried the same for a Cinnamon edition - and NO error.

    So it is the basic Linux Mint KDE Edition which produces the problem....

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    Well, if you want a KDE desktop then install Kubuntu directly. I don't think the Kubuntu developers care about any Mint installation

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    Well, at least ntohing we can do here in this forum. Will check in the according Mint forums if the python problem in Mint KDE may be solved.

    Thank all of you for your help with this!

  • Link to post
    Share on other sites

    Posted · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    No problem. Good luck in solving your problem

  • Link to post
    Share on other sites

    Posted (edited) · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    So just to be complete: I created clean systems for each version of Linux Mint 18.1 and installed only cura. Results:

    Cinnamon - success

    Mate - success

    Xfce - success

    KDE - fail

    I think this proves that the problem is KDE related. So we will see if it will/can be solved by the KDE experts in the Linux Mint forums.... (forums.linuxmint.com - desktops - KDE - Link: "https://forums.linuxmint.com/viewtopic.php?f=56&t=242763"

    Edited by Guest
  • Link to post
    Share on other sites

    Posted (edited) · Linux Mint 18.1 KDE Edition (only) - Cura 2.4 is missing Python3 - but Python3 is installed

    Well, in my point of view it is a prove that the KDE people at Linux Mint are doing things wrong :p

    Edited by Guest
    • Like 1
    Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
     Share

    • Our picks

      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 11 replies
    ×
    ×
    • Create New...