eth-brownie / brownie

A Python-based development and testing framework for smart contracts targeting the Ethereum Virtual Machine.
https://eth-brownie.readthedocs.io
MIT License
2.64k stars 550 forks source link

INTERNALERROR if ganache is not installed #813

Open fubuloubu opened 3 years ago

fubuloubu commented 3 years ago

What was wrong?

If ganache-cli is not installed, Brownie doesn't detect this and instead tries to use it as if it is already installed. It could detect and present a better error message to end users

...
INTERNALERROR> FileNotFoundError: [Errno 2] No such file or directory: 'ganache-cli'

How can it be fixed?

Check for this and present a better error message

afrazalamjr commented 1 month ago

Install Ganache CLI Verify Installation Ganache to PATH