// Install it via bash terminal globally
$ sudo apt install python2
// Check the installed version.
// Must shown Python 2.7.18rc1 on terminal to the install be OK
// Verify Python 2.7 path
// Set Python 2 as alternative 1
$ sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
// Confirm Python 2 as alternative priority 1
$ sudo update-alternatives --config python
// Confirm the procedure.
// Must shown Python 2.7.18rc1 on terminal to the install be OK
// On the working directory, run the cmd below to set Python locally
$ npm config set python python