I'm getting these errors while executing
npm install web3
How could i fix this?
Your version of Python does not match the required version for one of the dependencies. To explain your error in more detail, Python is not compiled, so version mismatch is found at run-time. The program is using the old Python 2.7 print syntax which is flagging the error. By installing the appropriate version of Python 2.7 or upgrading to a version of the library that uses an older version of Python (if there is one), you should be able to resolve this problem.
node-gyp README at https://github.com/nodejs/node-gyp: