In an attempt to get CairoPlot to run correctly on my Ubuntu 11.04, I stupidly copied the CairoPlot.py into my /usr/local/bin/python dir. When I realized that this wasn't the way to go, I deleted the file, now running 'python' in terminal just hangs, I have restarted the machine, any ideas?
|
|
|||||
|
migrated from stackoverflow.com Sep 12 '11 at 11:15
This will reinstall python from the command line, if you don't want to use Synaptic like loki2302 suggests. (Synaptic would be fine, of course.) |
|||
|
|
Since you have an error after touching a file in Probably you have installed a version of python yourself in In this case you should uninstall your own version of python. If you still have the sources available you can use |
|||
|
|
|
other wise if the Python won't run in terminal post does not work Try purge python which will remove all files and directories installed. It will also let you know if it can't remove a directory because there were files in it that it could not delete. You might find there was an other file in there that was causing problems. Which you should also delete.
|
|||
|
|
|
I would guess that Type |
|||
|
|
|
What worked for me, was to start the
then kill it after a few minutes, then open a new terminal and:
|
||||
|
|
