I am trying to install mapnik in ubuntu 16.04 64-bit machine, following this tutorial https://github.com/mapnik/mapnik/wiki/UbuntuInstallation but when I enter ./configure I am getting error like this
Inheriting from mapnik-settings.env
scons: *** SCons version 4.1.0 does not run under Python version 2.7.12.
Python >= 3.5 is required.
I have tried different methods but nothing is working. My gcc version is gcc (GCC) 6.3.0 and clang version is clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final).
sudo add-apt-repository universe && sudo apt-get update && sudo apt-get install libmapnik-dev. – N0rbert Jun 03 '21 at 11:28PYTHONas the interpreter if it's set, otherwise the thing namedpython. So if you can get a Python3 installed, and set the environment variablePYTHONtopython3there's a chance it will work. I suspect you're be chasing incompatibilities all throughout though - i.e. your 16.04 g++ may be too old for the current code, etc. – Mats Wichmann Jun 04 '21 at 17:48$PYTHON scons/scons.py ...– Mats Wichmann Jun 06 '21 at 13:51