I'm getting these errors while executing
npm install web3
How could i fix this?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityYour 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.
From the node-gyp
README at https://github.com/nodejs/node-gyp:
npm init
first or install globally with-g