How to solve the error “Failed to launch Terminal” after upgrading python?
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
|
show 2 more comments
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
1
It sounds like you might have accidentally uninstalledgnome-terminal
. Have you tried typingxterm
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 typesudo apt update
and thensudo 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
|
show 2 more comments
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
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
command-line 18.04 python gnome-terminal
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 uninstalledgnome-terminal
. Have you tried typingxterm
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 typesudo apt update
and thensudo 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
|
show 2 more comments
1
It sounds like you might have accidentally uninstalledgnome-terminal
. Have you tried typingxterm
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 typesudo apt update
and thensudo 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
|
show 2 more comments
1 Answer
1
active
oldest
votes
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Oct 13 '18 at 9:17
What IfWhat If
166
166
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
1
It sounds like you might have accidentally uninstalled
gnome-terminal
. Have you tried typingxterm
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 thensudo 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