How to solve the error “Failed to launch Terminal” after upgrading python?












1















How to solve the error "failed to launch Terminal" failed to execute child process GNOME-Terminal ( No such file or directory ) ? Please HELP us to solve this error. Currently I have upgraded Python to 3.7 version.



I have tried opening by clicking Alt+F2 and entered "gnome-terminal" but that too failed.



I tried "sudo apt-get purge gnome-terminal" in a shell opened on clicking "Ctrl + Alt + F3" keys which removed my terminal from the system



And then ran "sudo apt-get install gnome-terminal", I got terminal back but with the same error.










share|improve this question




















  • 1





    It sounds like you might have accidentally uninstalled gnome-terminal. Have you tried typing xterm into the Alt+F2 box instead?

    – tudor
    Oct 13 '18 at 8:29











  • I tried to open Xterm but in vain. Xterm itself not opening.

    – What If
    Oct 13 '18 at 8:39











  • Can you get to a console with CTRL+ALT+F3 or F4? Once in the console, log in and type sudo apt update and then sudo apt install --reinstall ubuntu-desktop which will reinstall all the required packages. Then you can get back to the GUI with CTRL+ALT+F1 or F2.

    – tudor
    Oct 13 '18 at 8:45











  • Did it and same problem continues

    – What If
    Oct 13 '18 at 8:57






  • 1





    post as answer @tudor

    – What If
    Oct 13 '18 at 9:18
















1















How to solve the error "failed to launch Terminal" failed to execute child process GNOME-Terminal ( No such file or directory ) ? Please HELP us to solve this error. Currently I have upgraded Python to 3.7 version.



I have tried opening by clicking Alt+F2 and entered "gnome-terminal" but that too failed.



I tried "sudo apt-get purge gnome-terminal" in a shell opened on clicking "Ctrl + Alt + F3" keys which removed my terminal from the system



And then ran "sudo apt-get install gnome-terminal", I got terminal back but with the same error.










share|improve this question




















  • 1





    It sounds like you might have accidentally uninstalled gnome-terminal. Have you tried typing xterm into the Alt+F2 box instead?

    – tudor
    Oct 13 '18 at 8:29











  • I tried to open Xterm but in vain. Xterm itself not opening.

    – What If
    Oct 13 '18 at 8:39











  • Can you get to a console with CTRL+ALT+F3 or F4? Once in the console, log in and type sudo apt update and then sudo apt install --reinstall ubuntu-desktop which will reinstall all the required packages. Then you can get back to the GUI with CTRL+ALT+F1 or F2.

    – tudor
    Oct 13 '18 at 8:45











  • Did it and same problem continues

    – What If
    Oct 13 '18 at 8:57






  • 1





    post as answer @tudor

    – What If
    Oct 13 '18 at 9:18














1












1








1








How to solve the error "failed to launch Terminal" failed to execute child process GNOME-Terminal ( No such file or directory ) ? Please HELP us to solve this error. Currently I have upgraded Python to 3.7 version.



I have tried opening by clicking Alt+F2 and entered "gnome-terminal" but that too failed.



I tried "sudo apt-get purge gnome-terminal" in a shell opened on clicking "Ctrl + Alt + F3" keys which removed my terminal from the system



And then ran "sudo apt-get install gnome-terminal", I got terminal back but with the same error.










share|improve this question
















How to solve the error "failed to launch Terminal" failed to execute child process GNOME-Terminal ( No such file or directory ) ? Please HELP us to solve this error. Currently I have upgraded Python to 3.7 version.



I have tried opening by clicking Alt+F2 and entered "gnome-terminal" but that too failed.



I tried "sudo apt-get purge gnome-terminal" in a shell opened on clicking "Ctrl + Alt + F3" keys which removed my terminal from the system



And then ran "sudo apt-get install gnome-terminal", I got terminal back but with the same error.







command-line 18.04 python gnome-terminal






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 13 '18 at 9:58







What If

















asked Oct 13 '18 at 7:33









What IfWhat If

166




166








  • 1





    It sounds like you might have accidentally uninstalled gnome-terminal. Have you tried typing xterm into the Alt+F2 box instead?

    – tudor
    Oct 13 '18 at 8:29











  • I tried to open Xterm but in vain. Xterm itself not opening.

    – What If
    Oct 13 '18 at 8:39











  • Can you get to a console with CTRL+ALT+F3 or F4? Once in the console, log in and type sudo apt update and then sudo apt install --reinstall ubuntu-desktop which will reinstall all the required packages. Then you can get back to the GUI with CTRL+ALT+F1 or F2.

    – tudor
    Oct 13 '18 at 8:45











  • Did it and same problem continues

    – What If
    Oct 13 '18 at 8:57






  • 1





    post as answer @tudor

    – What If
    Oct 13 '18 at 9:18














  • 1





    It sounds like you might have accidentally uninstalled gnome-terminal. Have you tried typing xterm into the Alt+F2 box instead?

    – tudor
    Oct 13 '18 at 8:29











  • I tried to open Xterm but in vain. Xterm itself not opening.

    – What If
    Oct 13 '18 at 8:39











  • Can you get to a console with CTRL+ALT+F3 or F4? Once in the console, log in and type sudo apt update and then sudo apt install --reinstall ubuntu-desktop which will reinstall all the required packages. Then you can get back to the GUI with CTRL+ALT+F1 or F2.

    – tudor
    Oct 13 '18 at 8:45











  • Did it and same problem continues

    – What If
    Oct 13 '18 at 8:57






  • 1





    post as answer @tudor

    – What If
    Oct 13 '18 at 9:18








1




1





It sounds like you might have accidentally uninstalled gnome-terminal. Have you tried typing xterm into the Alt+F2 box instead?

– tudor
Oct 13 '18 at 8:29





It sounds like you might have accidentally uninstalled gnome-terminal. Have you tried typing xterm into the Alt+F2 box instead?

– tudor
Oct 13 '18 at 8:29













I tried to open Xterm but in vain. Xterm itself not opening.

– What If
Oct 13 '18 at 8:39





I tried to open Xterm but in vain. Xterm itself not opening.

– What If
Oct 13 '18 at 8:39













Can you get to a console with CTRL+ALT+F3 or F4? Once in the console, log in and type sudo apt update and then sudo apt install --reinstall ubuntu-desktop which will reinstall all the required packages. Then you can get back to the GUI with CTRL+ALT+F1 or F2.

– tudor
Oct 13 '18 at 8:45





Can you get to a console with CTRL+ALT+F3 or F4? Once in the console, log in and type sudo apt update and then sudo apt install --reinstall ubuntu-desktop which will reinstall all the required packages. Then you can get back to the GUI with CTRL+ALT+F1 or F2.

– tudor
Oct 13 '18 at 8:45













Did it and same problem continues

– What If
Oct 13 '18 at 8:57





Did it and same problem continues

– What If
Oct 13 '18 at 8:57




1




1





post as answer @tudor

– What If
Oct 13 '18 at 9:18





post as answer @tudor

– What If
Oct 13 '18 at 9:18










1 Answer
1






active

oldest

votes


















1














After many attempts,



I found the cause of issue. Python upgraded to version 3.7 and lost its version 3.5



sudo apt-get install python3.5


Above command installed python 3.5 which is used to run terminal by Ubuntu 18.04 by default.




Note:



Uninstalling Python 3.5 causes removal of terminal, desktop, firefox
and some applications in Ubuntu.



Better don't do it.




Carefully upgrade/install python versions.






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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%2faskubuntu.com%2fquestions%2f1083411%2fhow-to-solve-the-error-failed-to-launch-terminal-after-upgrading-python%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    After many attempts,



    I found the cause of issue. Python upgraded to version 3.7 and lost its version 3.5



    sudo apt-get install python3.5


    Above command installed python 3.5 which is used to run terminal by Ubuntu 18.04 by default.




    Note:



    Uninstalling Python 3.5 causes removal of terminal, desktop, firefox
    and some applications in Ubuntu.



    Better don't do it.




    Carefully upgrade/install python versions.






    share|improve this answer




























      1














      After many attempts,



      I found the cause of issue. Python upgraded to version 3.7 and lost its version 3.5



      sudo apt-get install python3.5


      Above command installed python 3.5 which is used to run terminal by Ubuntu 18.04 by default.




      Note:



      Uninstalling Python 3.5 causes removal of terminal, desktop, firefox
      and some applications in Ubuntu.



      Better don't do it.




      Carefully upgrade/install python versions.






      share|improve this answer


























        1












        1








        1







        After many attempts,



        I found the cause of issue. Python upgraded to version 3.7 and lost its version 3.5



        sudo apt-get install python3.5


        Above command installed python 3.5 which is used to run terminal by Ubuntu 18.04 by default.




        Note:



        Uninstalling Python 3.5 causes removal of terminal, desktop, firefox
        and some applications in Ubuntu.



        Better don't do it.




        Carefully upgrade/install python versions.






        share|improve this answer













        After many attempts,



        I found the cause of issue. Python upgraded to version 3.7 and lost its version 3.5



        sudo apt-get install python3.5


        Above command installed python 3.5 which is used to run terminal by Ubuntu 18.04 by default.




        Note:



        Uninstalling Python 3.5 causes removal of terminal, desktop, firefox
        and some applications in Ubuntu.



        Better don't do it.




        Carefully upgrade/install python versions.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 13 '18 at 9:17









        What IfWhat If

        166




        166






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f1083411%2fhow-to-solve-the-error-failed-to-launch-terminal-after-upgrading-python%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

            How did Captain America manage to do this?

            迪纳利

            南乌拉尔铁路局