Error message in Debian Stretch: Failed to load module “canberra-gtk-module”












0















I'm using Pycharm IDE on the Linux Debian 9 stretch OS and getting the following error when I try to install the python Debugger extension (Cython).



The error I get is the following one:



Gtk-Message: Failed to load module "canberra-gtk-module"


I think this is due to the fact that the OS didn't have the module/package suggested by the error message.



So I ran on the terminal:



sudo apt-get install libcanberra-gtk3-module


and, alternatively, I ran:



sudo apt-get install libcanberra-gtk-module:i386


in the hope that the 32-bit version worked better than the 64-bit one (I run a 64-bit version).



Woefully, in the first case, I got that this package is already installed, while in the second one the terminal response stated that is not possible to find such package.



Moreover, the error comes out only when I run PyCharm from the terminal, not in other cases; by running:



sudo apt-get update && sudo apt-get upgrade


everything goes right and there are no error message in the terminal.



What is the package I need installing?










share|improve this question

























  • Please don’t use links as crutches, and don’t say “I tried _____” and then link to a question with four answers. Say what you tried and what happened.

    – G-Man
    Feb 20 '18 at 23:40











  • Hi @G-Man! Thanks for commenting. I'm sorry for asking the question wrong; I edited the question in the hope to explain better my problem. Let me know whether you have other advices.

    – Quant.Pi
    Feb 21 '18 at 8:31
















0















I'm using Pycharm IDE on the Linux Debian 9 stretch OS and getting the following error when I try to install the python Debugger extension (Cython).



The error I get is the following one:



Gtk-Message: Failed to load module "canberra-gtk-module"


I think this is due to the fact that the OS didn't have the module/package suggested by the error message.



So I ran on the terminal:



sudo apt-get install libcanberra-gtk3-module


and, alternatively, I ran:



sudo apt-get install libcanberra-gtk-module:i386


in the hope that the 32-bit version worked better than the 64-bit one (I run a 64-bit version).



Woefully, in the first case, I got that this package is already installed, while in the second one the terminal response stated that is not possible to find such package.



Moreover, the error comes out only when I run PyCharm from the terminal, not in other cases; by running:



sudo apt-get update && sudo apt-get upgrade


everything goes right and there are no error message in the terminal.



What is the package I need installing?










share|improve this question

























  • Please don’t use links as crutches, and don’t say “I tried _____” and then link to a question with four answers. Say what you tried and what happened.

    – G-Man
    Feb 20 '18 at 23:40











  • Hi @G-Man! Thanks for commenting. I'm sorry for asking the question wrong; I edited the question in the hope to explain better my problem. Let me know whether you have other advices.

    – Quant.Pi
    Feb 21 '18 at 8:31














0












0








0








I'm using Pycharm IDE on the Linux Debian 9 stretch OS and getting the following error when I try to install the python Debugger extension (Cython).



The error I get is the following one:



Gtk-Message: Failed to load module "canberra-gtk-module"


I think this is due to the fact that the OS didn't have the module/package suggested by the error message.



So I ran on the terminal:



sudo apt-get install libcanberra-gtk3-module


and, alternatively, I ran:



sudo apt-get install libcanberra-gtk-module:i386


in the hope that the 32-bit version worked better than the 64-bit one (I run a 64-bit version).



Woefully, in the first case, I got that this package is already installed, while in the second one the terminal response stated that is not possible to find such package.



Moreover, the error comes out only when I run PyCharm from the terminal, not in other cases; by running:



sudo apt-get update && sudo apt-get upgrade


everything goes right and there are no error message in the terminal.



What is the package I need installing?










share|improve this question
















I'm using Pycharm IDE on the Linux Debian 9 stretch OS and getting the following error when I try to install the python Debugger extension (Cython).



The error I get is the following one:



Gtk-Message: Failed to load module "canberra-gtk-module"


I think this is due to the fact that the OS didn't have the module/package suggested by the error message.



So I ran on the terminal:



sudo apt-get install libcanberra-gtk3-module


and, alternatively, I ran:



sudo apt-get install libcanberra-gtk-module:i386


in the hope that the 32-bit version worked better than the 64-bit one (I run a 64-bit version).



Woefully, in the first case, I got that this package is already installed, while in the second one the terminal response stated that is not possible to find such package.



Moreover, the error comes out only when I run PyCharm from the terminal, not in other cases; by running:



sudo apt-get update && sudo apt-get upgrade


everything goes right and there are no error message in the terminal.



What is the package I need installing?







debian python3 gtk3






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 1 hour ago









Rui F Ribeiro

41.5k1483140




41.5k1483140










asked Feb 20 '18 at 23:31









Quant.PiQuant.Pi

2117




2117













  • Please don’t use links as crutches, and don’t say “I tried _____” and then link to a question with four answers. Say what you tried and what happened.

    – G-Man
    Feb 20 '18 at 23:40











  • Hi @G-Man! Thanks for commenting. I'm sorry for asking the question wrong; I edited the question in the hope to explain better my problem. Let me know whether you have other advices.

    – Quant.Pi
    Feb 21 '18 at 8:31



















  • Please don’t use links as crutches, and don’t say “I tried _____” and then link to a question with four answers. Say what you tried and what happened.

    – G-Man
    Feb 20 '18 at 23:40











  • Hi @G-Man! Thanks for commenting. I'm sorry for asking the question wrong; I edited the question in the hope to explain better my problem. Let me know whether you have other advices.

    – Quant.Pi
    Feb 21 '18 at 8:31

















Please don’t use links as crutches, and don’t say “I tried _____” and then link to a question with four answers. Say what you tried and what happened.

– G-Man
Feb 20 '18 at 23:40





Please don’t use links as crutches, and don’t say “I tried _____” and then link to a question with four answers. Say what you tried and what happened.

– G-Man
Feb 20 '18 at 23:40













Hi @G-Man! Thanks for commenting. I'm sorry for asking the question wrong; I edited the question in the hope to explain better my problem. Let me know whether you have other advices.

– Quant.Pi
Feb 21 '18 at 8:31





Hi @G-Man! Thanks for commenting. I'm sorry for asking the question wrong; I edited the question in the hope to explain better my problem. Let me know whether you have other advices.

– Quant.Pi
Feb 21 '18 at 8:31










3 Answers
3






active

oldest

votes


















2














sudo apt-get update
sudo apt-get install libcanberra-gtk-module





share|improve this answer































    0














    The package you need to install is the development package. The exact name may be depended on the version of your repository. At present on Ubuntu 18.04 it is named: libcanberra-gtk-dev



    You can use this command to list the names as well as which components you currently have installed (the command and output from my system):



    $ apt search libcanberra-gtk | egrep ^libcanberra-gtk
    libcanberra-gtk-common-dev/bionic,bionic,now 0.30-5ubuntu1 all [installed,automatic]
    libcanberra-gtk-dev/bionic,now 0.30-5ubuntu1 amd64 [installed]
    libcanberra-gtk-module/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]
    libcanberra-gtk0/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]
    libcanberra-gtk3-0/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]
    libcanberra-gtk3-dev/bionic 0.30-5ubuntu1 amd64
    libcanberra-gtk3-module/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]


    Installing the dev library will normally automatically install the other depends.






    share|improve this answer
























    • On Ubuntu 18.04 , libcanberra-gtk-module is provided only by libcanberra-gtk-module or libcanberra-gtk3-module.

      – GAD3R
      May 9 '18 at 19:03











    • @GAD3R libcanberra-gtk-module is automatically installed in Ubuntu as part of the OS without any action from the user. When you install libcanberra-gtk-dev the libcanberra-gtk-module is, as you can see in my answer installed,automatic. There is a good chance, since libcanberra-gtk-module is already installed by default when during the Ubuntu installation, there are components from his IDE programming environment that is dependant on some components of the development package. I don't believe sudo apt-get install libcanberra-gtk-module will make a difference.

      – L. D. James
      May 9 '18 at 19:23





















    -1














    sudo apt-get install libcanberra-gtk*





    share|improve this answer





















    • 2





      Could you please update your post to include more context to your answer? Simply format the command properly and state why you think this is the correct answer.

      – kemotep
      Apr 2 '18 at 22:30











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f425549%2ferror-message-in-debian-stretch-failed-to-load-module-canberra-gtk-module%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    sudo apt-get update
    sudo apt-get install libcanberra-gtk-module





    share|improve this answer




























      2














      sudo apt-get update
      sudo apt-get install libcanberra-gtk-module





      share|improve this answer


























        2












        2








        2







        sudo apt-get update
        sudo apt-get install libcanberra-gtk-module





        share|improve this answer













        sudo apt-get update
        sudo apt-get install libcanberra-gtk-module






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 9 '18 at 18:49









        ShefirotShefirot

        212




        212

























            0














            The package you need to install is the development package. The exact name may be depended on the version of your repository. At present on Ubuntu 18.04 it is named: libcanberra-gtk-dev



            You can use this command to list the names as well as which components you currently have installed (the command and output from my system):



            $ apt search libcanberra-gtk | egrep ^libcanberra-gtk
            libcanberra-gtk-common-dev/bionic,bionic,now 0.30-5ubuntu1 all [installed,automatic]
            libcanberra-gtk-dev/bionic,now 0.30-5ubuntu1 amd64 [installed]
            libcanberra-gtk-module/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]
            libcanberra-gtk0/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]
            libcanberra-gtk3-0/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]
            libcanberra-gtk3-dev/bionic 0.30-5ubuntu1 amd64
            libcanberra-gtk3-module/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]


            Installing the dev library will normally automatically install the other depends.






            share|improve this answer
























            • On Ubuntu 18.04 , libcanberra-gtk-module is provided only by libcanberra-gtk-module or libcanberra-gtk3-module.

              – GAD3R
              May 9 '18 at 19:03











            • @GAD3R libcanberra-gtk-module is automatically installed in Ubuntu as part of the OS without any action from the user. When you install libcanberra-gtk-dev the libcanberra-gtk-module is, as you can see in my answer installed,automatic. There is a good chance, since libcanberra-gtk-module is already installed by default when during the Ubuntu installation, there are components from his IDE programming environment that is dependant on some components of the development package. I don't believe sudo apt-get install libcanberra-gtk-module will make a difference.

              – L. D. James
              May 9 '18 at 19:23


















            0














            The package you need to install is the development package. The exact name may be depended on the version of your repository. At present on Ubuntu 18.04 it is named: libcanberra-gtk-dev



            You can use this command to list the names as well as which components you currently have installed (the command and output from my system):



            $ apt search libcanberra-gtk | egrep ^libcanberra-gtk
            libcanberra-gtk-common-dev/bionic,bionic,now 0.30-5ubuntu1 all [installed,automatic]
            libcanberra-gtk-dev/bionic,now 0.30-5ubuntu1 amd64 [installed]
            libcanberra-gtk-module/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]
            libcanberra-gtk0/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]
            libcanberra-gtk3-0/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]
            libcanberra-gtk3-dev/bionic 0.30-5ubuntu1 amd64
            libcanberra-gtk3-module/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]


            Installing the dev library will normally automatically install the other depends.






            share|improve this answer
























            • On Ubuntu 18.04 , libcanberra-gtk-module is provided only by libcanberra-gtk-module or libcanberra-gtk3-module.

              – GAD3R
              May 9 '18 at 19:03











            • @GAD3R libcanberra-gtk-module is automatically installed in Ubuntu as part of the OS without any action from the user. When you install libcanberra-gtk-dev the libcanberra-gtk-module is, as you can see in my answer installed,automatic. There is a good chance, since libcanberra-gtk-module is already installed by default when during the Ubuntu installation, there are components from his IDE programming environment that is dependant on some components of the development package. I don't believe sudo apt-get install libcanberra-gtk-module will make a difference.

              – L. D. James
              May 9 '18 at 19:23
















            0












            0








            0







            The package you need to install is the development package. The exact name may be depended on the version of your repository. At present on Ubuntu 18.04 it is named: libcanberra-gtk-dev



            You can use this command to list the names as well as which components you currently have installed (the command and output from my system):



            $ apt search libcanberra-gtk | egrep ^libcanberra-gtk
            libcanberra-gtk-common-dev/bionic,bionic,now 0.30-5ubuntu1 all [installed,automatic]
            libcanberra-gtk-dev/bionic,now 0.30-5ubuntu1 amd64 [installed]
            libcanberra-gtk-module/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]
            libcanberra-gtk0/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]
            libcanberra-gtk3-0/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]
            libcanberra-gtk3-dev/bionic 0.30-5ubuntu1 amd64
            libcanberra-gtk3-module/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]


            Installing the dev library will normally automatically install the other depends.






            share|improve this answer













            The package you need to install is the development package. The exact name may be depended on the version of your repository. At present on Ubuntu 18.04 it is named: libcanberra-gtk-dev



            You can use this command to list the names as well as which components you currently have installed (the command and output from my system):



            $ apt search libcanberra-gtk | egrep ^libcanberra-gtk
            libcanberra-gtk-common-dev/bionic,bionic,now 0.30-5ubuntu1 all [installed,automatic]
            libcanberra-gtk-dev/bionic,now 0.30-5ubuntu1 amd64 [installed]
            libcanberra-gtk-module/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]
            libcanberra-gtk0/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]
            libcanberra-gtk3-0/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]
            libcanberra-gtk3-dev/bionic 0.30-5ubuntu1 amd64
            libcanberra-gtk3-module/bionic,now 0.30-5ubuntu1 amd64 [installed,automatic]


            Installing the dev library will normally automatically install the other depends.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered May 6 '18 at 22:35









            L. D. JamesL. D. James

            889514




            889514













            • On Ubuntu 18.04 , libcanberra-gtk-module is provided only by libcanberra-gtk-module or libcanberra-gtk3-module.

              – GAD3R
              May 9 '18 at 19:03











            • @GAD3R libcanberra-gtk-module is automatically installed in Ubuntu as part of the OS without any action from the user. When you install libcanberra-gtk-dev the libcanberra-gtk-module is, as you can see in my answer installed,automatic. There is a good chance, since libcanberra-gtk-module is already installed by default when during the Ubuntu installation, there are components from his IDE programming environment that is dependant on some components of the development package. I don't believe sudo apt-get install libcanberra-gtk-module will make a difference.

              – L. D. James
              May 9 '18 at 19:23





















            • On Ubuntu 18.04 , libcanberra-gtk-module is provided only by libcanberra-gtk-module or libcanberra-gtk3-module.

              – GAD3R
              May 9 '18 at 19:03











            • @GAD3R libcanberra-gtk-module is automatically installed in Ubuntu as part of the OS without any action from the user. When you install libcanberra-gtk-dev the libcanberra-gtk-module is, as you can see in my answer installed,automatic. There is a good chance, since libcanberra-gtk-module is already installed by default when during the Ubuntu installation, there are components from his IDE programming environment that is dependant on some components of the development package. I don't believe sudo apt-get install libcanberra-gtk-module will make a difference.

              – L. D. James
              May 9 '18 at 19:23



















            On Ubuntu 18.04 , libcanberra-gtk-module is provided only by libcanberra-gtk-module or libcanberra-gtk3-module.

            – GAD3R
            May 9 '18 at 19:03





            On Ubuntu 18.04 , libcanberra-gtk-module is provided only by libcanberra-gtk-module or libcanberra-gtk3-module.

            – GAD3R
            May 9 '18 at 19:03













            @GAD3R libcanberra-gtk-module is automatically installed in Ubuntu as part of the OS without any action from the user. When you install libcanberra-gtk-dev the libcanberra-gtk-module is, as you can see in my answer installed,automatic. There is a good chance, since libcanberra-gtk-module is already installed by default when during the Ubuntu installation, there are components from his IDE programming environment that is dependant on some components of the development package. I don't believe sudo apt-get install libcanberra-gtk-module will make a difference.

            – L. D. James
            May 9 '18 at 19:23







            @GAD3R libcanberra-gtk-module is automatically installed in Ubuntu as part of the OS without any action from the user. When you install libcanberra-gtk-dev the libcanberra-gtk-module is, as you can see in my answer installed,automatic. There is a good chance, since libcanberra-gtk-module is already installed by default when during the Ubuntu installation, there are components from his IDE programming environment that is dependant on some components of the development package. I don't believe sudo apt-get install libcanberra-gtk-module will make a difference.

            – L. D. James
            May 9 '18 at 19:23













            -1














            sudo apt-get install libcanberra-gtk*





            share|improve this answer





















            • 2





              Could you please update your post to include more context to your answer? Simply format the command properly and state why you think this is the correct answer.

              – kemotep
              Apr 2 '18 at 22:30
















            -1














            sudo apt-get install libcanberra-gtk*





            share|improve this answer





















            • 2





              Could you please update your post to include more context to your answer? Simply format the command properly and state why you think this is the correct answer.

              – kemotep
              Apr 2 '18 at 22:30














            -1












            -1








            -1







            sudo apt-get install libcanberra-gtk*





            share|improve this answer















            sudo apt-get install libcanberra-gtk*






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 2 '18 at 23:38









            Jeff Schaller

            43.4k1160140




            43.4k1160140










            answered Apr 2 '18 at 22:18









            Josephat FeruziJosephat Feruzi

            1




            1








            • 2





              Could you please update your post to include more context to your answer? Simply format the command properly and state why you think this is the correct answer.

              – kemotep
              Apr 2 '18 at 22:30














            • 2





              Could you please update your post to include more context to your answer? Simply format the command properly and state why you think this is the correct answer.

              – kemotep
              Apr 2 '18 at 22:30








            2




            2





            Could you please update your post to include more context to your answer? Simply format the command properly and state why you think this is the correct answer.

            – kemotep
            Apr 2 '18 at 22:30





            Could you please update your post to include more context to your answer? Simply format the command properly and state why you think this is the correct answer.

            – kemotep
            Apr 2 '18 at 22:30


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f425549%2ferror-message-in-debian-stretch-failed-to-load-module-canberra-gtk-module%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Accessing regular linux commands in Huawei's Dopra Linux

            Can't connect RFCOMM socket: Host is down

            Kernel panic - not syncing: Fatal Exception in Interrupt