Linux Mint installation of Python 3.5
rosuav at gmail.com
Wed Sep 30 05:15:33 CEST 2015
On Wed, Sep 30, 2015 at 1:00 PM, Mario Figueiredo <marfig at gmx.com> wrote:
>> Personally, I use the regular 'make install', but that's because I'm
>> on Debian - the system Python is 2.7.
> Unfortunately Ubuntu based distros are going through a 2.x to 3.x
> transition period. Both Pythons are installed and are system dependencies.
> And their finicky dependency on Python really make these distros not
> very friendly for Python development. If I do end up successfully
> upgrading from 3.4 to 3.5, I will most likely forfeit my ability to
> upgrade the Mint version in the future without a full system
> installation. So the solution is to just maintain 3 different versions
> of python my machine. Ridiculous.
Three different Python versions? Ehh, no big deal.
rosuav at sikorsky:~$ python2 --version
rosuav at sikorsky:~$ python3.4 --version
rosuav at sikorsky:~$ python3.5 --version
rosuav at sikorsky:~$ python3.6 --version
rosuav at sikorsky:~$ pypy --version
Python 2.7.8 (2.4.0+dfsg-3, Dec 20 2014, 13:30:46)
[PyPy 2.4.0 with GCC 4.9.2]
rosuav at sikorsky:~$ jython --version
"my" variable $jythonHome masks earlier declaration in same scope at
/usr/bin/jython line 15.
And Steven D'Aprano probably can beat that by an order of magnitude.
Keep your multiple interpreters around; it doesn't hurt. Unless you're
seriously bothered by disk space issues, the biggest cost is keeping
track of which one you've installed some third-party package into.
More information about the Python-list