You can get the Python executable path:
whereis python
And set it:
npm config set python /usr/bin/python
solved Error “npm install -g strongloop” in ubuntu
You can get the Python executable path:
whereis python
And set it:
npm config set python /usr/bin/python
solved Error “npm install -g strongloop” in ubuntu