I installed 2.7 yesterday and am having problems with screenlets not running, etc.
Does anyone know a way of uninstalling 2.7 such that the system falls back to 2.6?
I installed 2.7 yesterday and am having problems with screenlets not running, etc.
Does anyone know a way of uninstalling 2.7 such that the system falls back to 2.6?
~/ sweet ~/
*Bump* I would like to know as well
How did you install 2.7 ?
Good point. My system seems to be running 2.6 by default. Did you install 2.7 on your own? If not you could already be running 2.6.
(I'm not trying to suggest you aren't smart enough to know which version you are running. Everyone makes mistakes and it can be helpful to ask these questions sooner rather than later.)
If you are, indeed, running 2.7 there seem to be entries for both 2.7 and 2.6 in the ubuntu software center. Rolling back to 2.6 would probably be as simple as opening up the software center, uninstalling 2.7 and installing 2.6.
I installed 2.7 on my own.
~/ sweet ~/
I'm afraid we need more information to offer some advice. We need to know the method you used to install it. For example:I installed 2.7 on my own.
- from a ppa, which one?
- from a .deb package, if so where did you get it?
- compiled from source, where did you get it?
- following instructions from a tutorial, which one?
Regards.
(Running 10.10 x64)
I would guess from source from the python homepage, at least thats how I did it.
http://www.python.org/download/
I used this one:
http://www.python.org/ftp/python/2.7/Python-2.7.tar.bz2
Just did a basic
./configure
sudo make
sudo make install
Note Python 2.6.5 is still installed yet nothing works (it seems like its trying to use 2.7)
It sounds like the OP is in the same boat as myself
Last edited by Melon Bread; October 18th, 2010 at 10:46 PM.
I have downloaded the package, read the docs, and went to the python wiki site. It does not look promising. It seems there's no actual uninstall process/tool yet (but it's in the making: read here).
Also I've learned that several versions can coexist together. You just need to point to the one you want to use. In my case:
The actual "python" command is a symbolic link to python2.6. Check how python is set in your system. If you are in a similar situation in which python is just a link, then you could do this:Code:$ ls -l /usr/bin/python* lrwxrwxrwx 1 root root 9 2010-06-27 12:56 /usr/bin/python -> python2.6 lrwxrwxrwx 1 root root 9 2010-06-27 12:56 /usr/bin/python2 -> python2.6 -rwxr-xr-x 1 root root 2288240 2010-04-16 09:06 /usr/bin/python2.6
This way any reference to "python" will go the 2.6 version.Code:$ sudo rm /usr/bin/python /usr/bin/python2 $ sudo ln -s /usr/bin/python2.6 /usr/bin/python $ sudo ln -s /usr/bin/python2.6 /usr/bin/python2
Good Luck!
Last edited by papibe; October 18th, 2010 at 11:54 PM. Reason: command to link python2 included, just in case.
@papibe: Thank you, I went ahead and got help on IRC, but your way works just as well. Thanks for posting the solution
You're very welcome. If you finally learned how to uninstall it, or got a better method that the link trick, please post it here. That way, other users read benefit from it.
Regards.
Bookmarks