The script is written in Python 2. The script is written such that it will run on only python2, and not python3.
As such, the script should be run as python2 MooDLD.py and the first line of the script should be changed to use #!/usr/bin/python2 (even better, make it #!/usr/bin/env python2) so one can run it directly as /path/to/MooDLD.py
The script is written in Python 2. The script is written such that it will run on only python2, and not python3.
As such, the script should be run as
python2 MooDLD.py
and the first line of the script should be changed to use#!/usr/bin/python2
(even better, make it#!/usr/bin/env python2
) so one can run it directly as/path/to/MooDLD.py