2

I am using Ubuntu 18.04 but I cannot open the terminal. when i want to open the terminal i face a notification that is given below . please help me I cannot install any other apps

enter image description here

3

4 Answers 4

1

I solve this problem by installing xterm from software, and running /usr/bin/gnome-terminal. This gave me an error I hadn't seen before, which was that my python installation was not as expected. I fixed the python installation and everything works again.

The python issue was that I was trying to use a python version manager, but gnome-terminal was looking for the binary python3 in /usr/bin. I had disabled that binary by renaming it to old_python3. I renamed it again to python3 and everything worked.

4
  • 1
    Perhaps complete your answer by adding information about how you fixed the python installation in the event others face the same issue?
    – graham
    Aug 27, 2018 at 16:03
  • @Graham updated.
    – steel
    Aug 27, 2018 at 16:39
  • I am also facing the same problem after installing python 3.7.0. @steel, Could you explain a bit more -- A binary I had moved. Which binary had you moved from which location to which location and also which binary?
    – testuser
    Sep 15, 2018 at 10:12
  • 1
    @Johir I added the details to the answer, but it was specifically looking for the python3 binary.
    – steel
    Sep 15, 2018 at 13:15
0

It might be possible that terminal is missing from your system for some reason. You can check that by checking out

/bin/gnome-terminal 

You can install it using ubuntu software center. Open the software center and type "terminal" and then install it.

-1

I found the solution for me was to follow the steps from the link below but changing the python version to the 3.6 in my case.

https://askubuntu.com/a/978471/1118361

-2
  • Try to update your locale
  • Try to change your environment variables or reset them to their default values.
  • Or just restarting your PC sometimes help
1
  • Welcome to Ask Ubuntu! What do you mean by "update your locale"? How would that help? How does changing or resetting environment variables help? Which variable should be reset?
    – Dan
    Jan 9, 2023 at 16:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .