0

I'm still getting around Ubuntu and the Terminal. I know a bit of Python, so I figured I could install the latest stable release of Python. When I launched python on the Terminal, it started Python 2.7.3, So I figured that Python 3.5.2 wasn't installed.

Anyway, I followed this Ask Ubuntu thread to install it, but didn't take care to read the following:

DON'T change the symlink! There are apparently many system functions that don't work properly with python3.5.

I tried this and afterwards couldn't open a terminal, software updater,...

And well, now I can't open the terminal. I'm able to use X-Term, but I really want to fix this.

I typed the following in the Terminal:

sudo rm python2
sudo rm python3

and then closed the Terminal.

6
  • Can you open xterm? or get to a Virtual Terminal (Ctrl-Alt-F2 etc.)? is so, you should simply be able to relink the appropriate executables e.g. sudo ln -s python2.7 /usr/bin/python2 Aug 3, 2016 at 16:24
  • Yes, I'm able to open xterm, but I still can't use the Terminal (as in, the other application)
    – Tet
    Aug 3, 2016 at 18:05
  • Did you try recreating the symbolic link, as suggested in my previous comment? Aug 3, 2016 at 19:18
  • I tried sudo ln -s python2.7 /usr/bin/python2. It went through, but the Xterm outputs "failed to create symbolic link 'usr/bin/python2': File exists"
    – Tet
    Aug 3, 2016 at 19:49
  • I'm not sure how I should use the Virtual Terminal, I'm searching about that one. I might go dark since I'm using college wi-fi (home internet is down). Sorry!
    – Tet
    Aug 3, 2016 at 19:52

1 Answer 1

1

open your Xterm terminal

sudo apt-get remove gnome-terminal

then reinstall it with

sudo apt-get install gnome-terminal

You must log in to answer this question.

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