smartcontractkit / full-blockchain-solidity-course-py

Ultimate Solidity, Blockchain, and Smart Contract - Beginner to Expert Full Course | Python Edition
MIT License
10.72k stars 2.89k forks source link

No such file or directory: 'ganache-cli' Lesson 5 #1478

Open Bill-TheTroglodyte opened 2 years ago

Bill-TheTroglodyte commented 2 years ago

Hello, at approximately 4:34:27 on Lesson 5, I have entered into my terminal on Visual Studio Code 'brownie run scripts/deploy.py' as prompted by the instructor. I get the following error after entering this information: [Errno 2] No such file or directory: 'ganache-cli'. I have properly installed ganache-cli and brownie and have triple checked multiple times. Please help me! Thank you.

I'm using: Python 3.10.4 node 16.15.0 Brownie v1.16.4 Screen Shot 2022-05-03 at 2 19 05 PM Screen Shot 2022-05-03 at 2 58 45 PM

abdulrahman440 commented 2 years ago

hi, i have same issues do you solve this problem?

ankitshubham97 commented 2 years ago

npm install -g ganache

ghost commented 2 years ago

In my case this seems to have been a problem with the alchemy address. I had created two. one worked, one did not.

BurnEthBurn commented 2 years ago

Same issue. Reinstalled ganache multiple times. Still get FileNotFoundError: [Errno 2] No such file or directory: 'ganache-cli'

sebastianahimsa commented 1 year ago

The only command that worked for me was_ npm install ganache --global

I had tryed all the different ways and nothing worked: npm install -g ganache sudo npm install -g ganache $ npm uninstall --global ganache-cli ganache-core // They recomend uninstalling also... but nothing., $ npm install --global ganache