Open 0xpetersatoshi opened 3 years ago
Can you share the source for the script you're trying to run? Or even better, is it in a public repo you can link to?
I get this too. From what I can tell, the script runner is trying to load the absolute path of the script, which starts with Users.<username>
. I'm not really sure what the expected behavior is.
scripts/deploy.py
import brownie
def main():
acct = brownie.accounts.load('metamask')
brownie.Storage.deploy('Storage', 'BLXS', 18, 1e28, {'from': acct})
if __name__ == "__main__":
main()
For me, this PR fixes the issue: https://github.com/eth-brownie/brownie/pull/1070
I am also getting similar issue with python3.9 and brownie. Please help.
Environment information
brownie
Version: v1.14.6ganache-cli
Version: x.x.x (not installed)solc
Version: 0.8.4+commit.c7e474f2.Darwin.appleclangWhat was wrong?
I am trying to run this deploy script:
But I am getting the following error:
How can it be fixed?
Fill this in if you know how the bug could be fixed.