I have been trying to install mocha,Web3 and ganache all through one command but I am facing an issue while installing can someone help me in sorting our this error. Quick response will be appreciated .

npm install --save mocha ganache-cli [email protected]

Error https://i.sstatic.net/0gqn6.png

  • you need to install python in your machine
    – Yilmaz
    Commented Apr 1, 2020 at 2:53

1 Answer 1


No need to install python. It basically happened due to the fact that you can't install it globally. so use sudo npm install --save mocha ganache-cli [email protected]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.