July 6, 2019
I use Intels Python distribution - with mixed feelings - and lately when I’ve done Python sysadm I’ve started to reciecve messages about ending support.
From here it is also clear the Python2 is approaching the end:
The End Of Life date (EOL, sunset date) for Python 2.7 has been moved five years into the future, to 2020.
In combination with Jorns new Python3 only laptop it made it clear that steps were needed in order to be able to operate GOTM in the usual way also after January 1. 2020. This has lead to a number of changes in the python code so basic functionallity is available both in Python2 and Python3. It has also lead to the fact that certain features are only available in Python2. These are typically GUI related extra features.
Good news is that the different packages are available from PyPi and are as easy to install as:
pip install <package_name> [--user]
For further information see PyPi
In principle Python is platform independent and we have tested on Mac, Linux and Windows but there are so many things that can influence compatability that there is no guarantee that it will work on all computers.
So the short message of this blog is really:
pip install editscenario <--user>
to be able to use editscenario both from Python2 and Python3.
gotmgui is Python2 only and will - until further notice - require manual installation of pygotm.
PyNcView is unsupported from now on but is Python2 only.