My python script containing import matplotlib.pyplot as plt
was not working and one of my classmate suggested to remove one of the python packages. (My dell ubuntu 12.04 desktop has two python programme 2.7 and 3) So, I run the command sudo apt-get remove python
. Now my terminal and unity launcher is missing. How can I recover everything without reinstalling? I can login in the tty
.
Thank you in advance.
(P.S. I understand removing python was a bad idea)
You have to reinstall Terminal and Unity.
You also need to install Python again.
Login to tty
and type this command:
sudo apt-get install --reinstall ubuntu-desktop gnome-terminal && sudo apt-get install python
(or whatever is it's name)
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments