Hi. Im new to Python and I need help upgrading the python version 2.6.5 to version 3.1.2. I'm running x64 Ubuntu. After I download and install the 3 version it does not overwrite or default itself as the new thing. I can't uninstall the 2 version because of dependencies on packages. I need the 3 version in order to follow the examples in my book on python. Please help.

Currently, the default python in major linux distributions is python 2.6. If you installed python 3, you can probably invoke it with /usr/bin/python3 instead of /usr/bin/python. Make sure you install tkinter3 too (if you want to use idle for example). Don't try to remove or change your default python installation.

Use Ubuntu's software installer. I run both on mine so...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.