- Windows 10
- Python 3.9.0
- Brownie v1.18.1
- Ganache CLI v6.12.2 (ganache-core 2.13.2)
I'm currently following Patrick's solidity tutorial. I'm at about 4:39:00. Here is my code and the error that is occurring:
Is there a problem with the file init.py?
I've tried uninstalling and installing eth-brownie using the directions here. However I'm still encountering this same error.
For reference the code I am trying to run is the following:
from brownie import accounts def deploy_simple_storage(): #account = accounts #print(account) account = accounts.load("freecodecamp-account") print(account) print("Done with deploy_simple_storage()") def main(): print("Hello!") print("Done with deploy.py")
And the error says "cannot import name 'accounts' from 'brownie'".
Thanks for the help. Not sure what to do.