Mint 18.x and Python 2.7

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Level 4
Level 4
Posts: 240
Joined: Fri Dec 12, 2014 6:46 am
Location: UK

Mint 18.x and Python 2.7

Post by MichaelJohn » Thu Feb 08, 2018 6:43 am

I am involved with a major application that started ten years ago and has absorbed well in excess of 20,000 man hours. Over the years it has run on Mint 8, 9, 13 and 17. For longevity (till 2021) it now needs to be ported to Mint 18. The application is written in Python 2.7, wxPython 2.8 and MySQL. Mint 18's base (Ubuntu 16.04) has dropped Python 2.7 from the default installation. As Python 3.x has been out for eight years it must be the way to go. However, it is not backwards compatible and rumours of Python 4.x running Python 2.7 seem to be just that, rumours!

Has anybody ported from Python 2.7 to 3.x? How difficult was it and where there any particular issues?

Thank you, in anticipation...

Level 1
Level 1
Posts: 38
Joined: Sun Jul 16, 2017 11:42 am

Re: Mint 18.x and Python 2.7

Post by Schallaven » Thu Feb 08, 2018 11:23 am

Ubuntu 16.04 (at least Mate edition) comes with Python 2.7.12 pre-installed. It might be that in Linux Mint 18.x the default link of /usr/bin/python goes to python3, but you can always use Python 2.7.x by /usr/bin/python2. There will be a long time before python2 get abandoned completely, I think :)

For porting, you might read this:
kittykernel - a cat-friendly, custom kernel manager for Linux Mint and other Debian derivates. Take a look or two here: Releases Github
Your argument is irrelephant - it's lacking elephants.

Post Reply

Return to “Software & Applications”